/* design: v2 */
/* remotecontrollawnmowers.com, design v2 board B "The machine on the bank" (design/home-v2-B.png, James's pick,
   2 Dec 2026). Olive bands hold the header, the headline and the footer; the finder is one slate bar; harvest gold is
   the one button and the chosen option; rust marks a warning; the reading surface is pale straw (the board's cream sat too close to doglongevitypills.com's) with paper-white cards.
   The pictures are Blender renders (renders/): a tracked mower on an evening bank and the close-ups of its parts.
   Sofia Sans Condensed for headings (the board's own condensed face is desktopco2laser.com's), Lato for text.
   One palette in light and dark: a dark browser keeps the same readable pairs. */

@font-face { font-family: "Sofia Sans Condensed"; src: url("/fonts/sofia-sans-condensed.woff2") format("woff2"); font-weight: 1 1000; font-display: swap; }
@font-face { font-family: "Lato"; src: url("/fonts/lato-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lato"; src: url("/fonts/lato-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --brand: #3f4a2e;
  --brand-deep: #2e3622;
  --bg: #f4f5dc;
  --text: #1e2219;
  --muted: #4d5246;
  --line: #d3d2b8;
  --card: #fdfdf5;
  --link: #44601d;
  --gold: #c79a3b;
  --gold-pale: #f4e6c4;
  --rust: #8b3e33;
  --slate: #5c6368;
  --slate-deep: #43494d;
  --on-dark: #f2eee5;
  --on-dark-muted: #d9dccb;
  --good: #3d6b1f;
  --warn: #8a4b00;
  --bad: #8b3e33;
  --display: "Sofia Sans Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --sans: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #f4f5dc; --text: #1e2219; --muted: #4d5246; --line: #d3d2b8; --card: #fdfdf5; --link: #44601d;
    --good: #3d6b1f; --warn: #8a4b00; --bad: #8b3e33;
    color-scheme: light;
  }
}

body { background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: 0; color: var(--brand); }
h1 { line-height: 1.02; }
h2 { font-size: 1.75rem; line-height: 1.1; }
h3 { font-size: 1.35rem; line-height: 1.15; }
a { color: var(--link); }
.wide { max-width: 1320px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px); }
.note, .small { color: var(--muted); font-size: 0.9rem; }
.tag { font-size: 0.74rem; font-weight: 700; color: var(--muted); text-transform: none; }

/* ---------- header and footer: olive ---------- */
.site-header { background: var(--brand); border-bottom: 0; color: var(--on-dark); }
.site-header .wrap { max-width: 1320px; padding-left: clamp(16px, 3vw, 40px); padding-right: clamp(16px, 3vw, 40px); }
.site-header .header-row { padding-top: 10px; padding-bottom: 10px; }
.brand, .footer-brand .brand { color: #ffffff; text-decoration: none; }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 1.75rem; line-height: 1; letter-spacing: 0.005em; }
.main-nav a { color: var(--on-dark); font-family: var(--display); font-weight: 600; font-size: 1.15rem; text-decoration: none; }
.main-nav a[aria-current="page"], .main-nav a:hover { color: #ffffff; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.menu-btn { color: var(--on-dark) !important; border-color: #6b7651 !important; }
@media (min-width: 761px) {
  .site-header .brand { padding-right: 22px; margin-right: 6px; border-right: 1px solid #6b7651; }
}
@media (max-width: 760px) {
  .wordmark { font-size: 1.45rem; }
  .has-menu.menu-open .main-nav a { border-top-color: #56613f; }
}

.site-footer { background: var(--brand-deep); color: var(--on-dark-muted); border-top: 0; margin-top: 0; }
.site-footer .wrap { max-width: 1320px; padding-left: clamp(16px, 3vw, 40px); padding-right: clamp(16px, 3vw, 40px); }
.site-footer a { color: var(--on-dark); }
.site-footer .footer-brand p { color: var(--on-dark-muted); }
.footer-col h2 { color: #ffffff; font-family: var(--display); font-weight: 800; font-size: 1.1rem; letter-spacing: 0.02em; }
.footer-legal::before { border-top-color: #4b5638; }
.footer-note { color: var(--on-dark); }

/* ---------- buttons ---------- */
.fit-form button[type="submit"] {
  background: var(--gold); color: #1e2219; border: 2px solid #e6c67f; border-radius: 4px; padding: 10px 22px; cursor: pointer;
  font-family: var(--display); font-weight: 800; font-size: 1.3rem; line-height: 1.1;
}
.fit-form button[type="submit"]:hover { background: #d6aa4d; }
.share-button {
  background: transparent; color: var(--brand); border: 2px solid var(--brand); border-radius: 4px; padding: 8px 22px; cursor: pointer;
  font-family: var(--display); font-weight: 800; font-size: 1.2rem;
}
.share-button:hover { background: var(--brand); color: #ffffff; }
.share-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; margin: 14px 0 0; }
.share-note { color: var(--good); }
.share-link { width: 100%; max-width: 32rem; padding: 0.35rem; }

/* ---------- the home hero: the machine on the bank ---------- */
.page-home main { padding-top: 0; }
.hero { position: relative; background: var(--brand); }
.hero-img { display: block; width: 100%; height: clamp(220px, 33vw, 520px); object-fit: cover; object-position: 60% 55%; }
.hero-band { background: var(--brand); color: var(--on-dark); padding: clamp(14px, 2vw, 22px) 0 clamp(16px, 2.2vw, 24px); }
.hero h1 { color: #ffffff; font-size: clamp(2.3rem, 4.9vw, 4.4rem); margin: 0 0 0.12em; }
.hero .lede { color: var(--on-dark); font-size: clamp(1.02rem, 1.3vw, 1.2rem); line-height: 1.5; max-width: 72em; margin: 0; }

/* ---------- the finder: one slate bar ---------- */
.finder-band { background: var(--slate); color: #ffffff; padding: 14px 0 18px; }
.finder-band h2 { color: #ffffff; font-size: clamp(1.55rem, 2.2vw, 2rem); margin: 0 0 6px; }
.fit-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 22px; margin: 0; }
.fit-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.fit-form legend { font-weight: 700; font-size: 0.95rem; color: #ffffff; margin-bottom: 6px; padding: 0; }
.fit-form p { margin: 0; }
.fit-form .small, .fit-form .small a { color: #eef0e6; font-size: 0.82rem; }
.fit-form .small { margin-top: 4px; }
.fit-form label { color: #ffffff; }
.fit-form select, .fit-form input[type="number"] {
  font: inherit; font-size: 1rem; padding: 7px 9px; border: 1.5px solid #c7ccc9; border-radius: 4px; background: #ffffff; color: var(--text);
}
.fit-form input[type="number"] { width: 5.2rem; }
.fit-form .row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.fit-form .row > label[for] { font-size: 0.85rem; color: #eef0e6; margin-right: 2px; }
.fit-form input:focus-visible, .fit-form select:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; }

/* radios as buttons: the chosen one turns gold */
.fit-form fieldset:has(input[type="radio"]) > label {
  position: relative; display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 42px; padding: 5px 12px; margin: 0 6px 6px 0; border: 1.5px solid #c7ccc9; border-radius: 4px;
  background: #e4e6e1; color: #1e2219; font-size: 0.9rem; line-height: 1.15; cursor: pointer; vertical-align: top;
}
.fit-form fieldset:has(input[name="cut"]) > label { max-width: 9rem; padding: 4px 9px; font-size: 0.86rem; }
.fit-form fieldset:has(input[type="radio"]) > label:has(input:checked) { background: var(--gold); border-color: #e6c67f; font-weight: 700; }
.fit-form fieldset:has(input[type="radio"]) > label:has(input:focus-visible) { outline: 3px solid #ffffff; outline-offset: 2px; }
.fit-form input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.fit-form > p:last-child { margin-left: auto; }
@media (max-width: 700px) {
  .fit-form { gap: 10px 14px; }
  .fit-form > p:last-child { margin-left: 0; width: 100%; }
  .fit-form button[type="submit"] { width: 100%; }
  .fit-form fieldset:has(input[name="cut"]) > label { max-width: none; width: calc(50% - 6px); }
}

/* ---------- the answer beside the table ---------- */
.answer-zone { padding: clamp(16px, 2.4vw, 28px) 0; }
.zone-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(16px, 2.4vw, 32px); align-items: start; }
@media (max-width: 1060px) { .zone-grid { grid-template-columns: minmax(0, 1fr); } }
.zone-answer { background: var(--card); border: 1px solid var(--line); padding: 14px clamp(12px, 2vw, 22px) 18px; }
.zone-side h2 { font-size: 1.5rem; margin: 0 0 8px; }
.zone-side h2:not(:first-child) { margin-top: 20px; }
.side-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 22px; }
.side-pair > div + div { border-left: 1px solid var(--line); padding-left: 22px; }
@media (max-width: 560px) { .side-pair { grid-template-columns: minmax(0, 1fr); } .side-pair > div + div { border-left: 0; padding-left: 0; } }
.jobs { padding-left: 0; list-style: none; margin: 0; }
.jobs li { margin: 0 0 4px; }
.facts { padding-left: 1.1em; margin: 0; font-size: 0.93rem; }
.facts li { margin-bottom: 6px; }

.fit-result .total { font-family: var(--display); font-weight: 700; font-size: 1.4rem; line-height: 1.15; color: var(--text); margin: 0 0 4px; }
.fit-result .total .figure, .fit-result .total strong { color: var(--brand); font-weight: 800; }
.fit-result h3 { font-size: 1.25rem; margin: 18px 0 6px; padding-bottom: 4px; border-bottom: 2px solid var(--brand); }
.fit-result .error { color: var(--bad); font-weight: 700; }
.no-list { padding-left: 1.1em; }
.no-list li { margin-bottom: 4px; }

.ans-list { list-style: none; margin: 0; padding: 0; }
/* one mower: the machine, its name and rating, the bank drawn at that rating, the price; the notes under the name */
.ans {
  display: grid; grid-template-columns: 112px minmax(0, 1fr) 66px minmax(8.5rem, 10rem);
  grid-template-areas: "pic main angle price" "pic notes notes other";
  gap: 4px 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line);
}
.ans:last-child { border-bottom: 0; }
.ans-pic { grid-area: pic; align-self: start; display: grid; justify-items: center; gap: 2px; padding-top: 4px; }
.ans-pic img { display: block; width: 112px; height: auto; }
.ans-drive { font-size: 0.72rem; font-weight: 700; color: var(--muted); text-align: center; line-height: 1.15; }
.ans-nopic { min-height: 62px; align-content: center; border: 1.5px dashed var(--line); border-radius: 4px; padding: 6px; }
.ans-main { grid-area: main; }
.ans-main p, .ans-notes p { margin: 0 0 2px; }
.ans-name { font-family: var(--display); font-weight: 800; font-size: 1.4rem; line-height: 1.05; }
.ans-name a { color: var(--text); text-decoration: none; }
.ans-name a:hover { text-decoration: underline; }
.ans-rating { font-weight: 700; font-size: 0.95rem; }
.ans-notes { grid-area: notes; align-self: start; }
.ans-notes .note { font-size: 0.82rem; line-height: 1.35; }
.ans-angle { grid-area: angle; display: grid; justify-items: center; font-family: var(--display); font-size: 1.35rem; line-height: 1; }
.ans-deg { font-weight: 800; color: var(--text); }
.ans-glyph { width: 60px; height: 34px; }
.ans-glyph .g-base { stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 3 3; fill: none; }
.ans-glyph .g-bank { stroke: var(--brand); stroke-width: 3; stroke-linecap: round; fill: none; }
.ans-price { grid-area: price; line-height: 1.2; border-left: 1px solid var(--line); padding-left: 12px; }
.ans-price .amount { display: block; font-family: var(--display); font-weight: 800; font-size: 1.55rem; }
.ans-price .amount a { color: var(--text); }
.ans-price .note, .ans-other .note { display: block; font-size: 0.78rem; }
.ans-other { grid-area: other; align-self: start; font-size: 0.85rem; line-height: 1.25; border-left: 1px solid var(--line); padding-left: 12px; }
.ans-other .amount { font-weight: 700; }
.ans-label { display: inline-block; font-size: 0.7rem; font-weight: 700; color: #ffffff; background: var(--slate); padding: 1px 5px; border-radius: 3px; margin-right: 3px; }
@media (max-width: 620px) {
  .ans { grid-template-columns: 84px minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "pic main main" "angle price price" "notes notes notes" "other other other"; gap: 8px 12px; }
  .ans-pic img { width: 84px; }
  .ans-price, .ans-other { border-left: 0; padding-left: 0; }
}

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; margin: 8px 0; background: var(--card); border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; font-size: 0.93rem; margin: 0; }
th, td { border-bottom: 1px solid var(--line); padding: 7px 9px; text-align: left; vertical-align: top; }
thead th { background: var(--slate-deep); color: #ffffff; font-family: var(--display); font-weight: 700; font-size: 1rem; border-bottom: 0; }
tbody th { font-weight: 700; }
tbody tr:last-child > * { border-bottom: 0; }
.side-table { font-size: 0.88rem; }
.side-table td { white-space: nowrap; }
.side-table tbody th { min-width: 9.5rem; }
.side-table .note { font-size: 0.78rem; white-space: normal; }

/* ---------- pick by the job: the spot pictures ---------- */
.jobs-band { background: #e8e8cc; padding: clamp(18px, 2.6vw, 30px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.jobs-band h2 { margin: 0 0 12px; }
.job-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .job-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.job-cards a { display: grid; align-content: start; gap: 2px; text-decoration: none; color: var(--text); background: var(--card); border: 1px solid var(--line); height: 100%; }
.job-pic { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.job-label { font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--brand); padding: 8px 12px 0; line-height: 1.1; }
.job-line { font-size: 0.88rem; color: var(--muted); padding: 0 12px 12px; }
.job-cards a:hover .job-label { text-decoration: underline; }

.home-more { padding: clamp(18px, 2.6vw, 32px) 0 clamp(24px, 3vw, 40px); }
.more-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(16px, 3vw, 40px); }
@media (max-width: 860px) { .more-grid { grid-template-columns: minmax(0, 1fr); } }
.home-more h2 { margin-top: 0; }

/* ---------- inner pages: an olive headline over a thick rule, the part or machine beside it ---------- */
.article-wrap { max-width: 1180px; }
.page-head { border-bottom: 4px solid var(--brand); padding-bottom: 14px; margin-bottom: 22px; }
.page-head h1 { color: var(--brand); font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.page-head .lede { color: var(--text); }
.page-head .byline, .page-head .byline a { color: var(--muted); }
.page-head.has-art { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); max-width: none; }
.page-head-art { width: clamp(140px, 26vw, 300px); }
.page-head-art .head-spot { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 2px 0 var(--line); }
.page-head-art .head-mower { display: block; width: 100%; height: auto; }
@media (max-width: 560px) {
  .page-head.has-art { flex-direction: column-reverse; align-items: flex-start; gap: 10px; }
  .page-head-art { width: 100%; max-width: 360px; }
  .page-head-art .head-spot { aspect-ratio: 16 / 7; object-fit: cover; }
}
.crumbs, .crumbs a { color: var(--muted); }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: 0; }
.toc-title { font-family: var(--display); font-weight: 800; color: var(--brand); }
.page-body h2 { margin-top: 1.6em; }
.page-body ul li { margin-bottom: 0.35em; }
.related { padding-left: 1.1em; }
.pro-note { border-left: 4px solid var(--gold); padding-left: 0.75rem; color: var(--muted); }
.faq dt, .faq summary, details summary { font-weight: 700; }
details { background: var(--card); border: 1px solid var(--line); padding: 8px 12px; margin: 8px 0; }

/* /fit: the slate bar above the answer */
.tool .finder-band { padding: 14px clamp(12px, 2vw, 20px) 18px; margin: 0 0 16px; }
.tool .fit-result { background: var(--card); border: 1px solid var(--line); padding: 14px clamp(12px, 2vw, 22px); }
