/* YardMaths stylesheet v2. Self-hosted font, no external requests.
   Idea: the yard seen in cross-section. Layers of grass, soil and stone (the "strata")
   are the one recurring motif; everything else stays quiet. */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f2f4ee;
  --surface: #ffffff;
  --surface-2: #e7ece2;
  --ink: #16241c;
  --ink-2: #4a5b50;
  --line: #d3dccf;
  --line-strong: #a9b8a6;
  --pine: #1f3d2e;
  --pine-2: #2c5a41;
  --link: #255f3c;
  --straw: #e3b341;
  --on-pine: #f4f7f1;
  --on-pine-2: #c9dacb;
  --focus: #9a6300;
  --err: #a3201b;
  --err-bg: #fff4f2;
  --grid: rgba(31, 61, 46, .07);

  /* Materials (one colour per calculator) */
  --m-gravel: #5f6f7c;
  --m-cube: #2c5a41;
  --m-soil: #6e4a2f;
  --m-sod: #3f7a33;
  --m-mulch: #8a5530;
  --m-seed: #8a6a12;
  --m-concrete: #5d625f;
  --m-paver: #9a4a2c;
  --m-sand: #8f6d2f;
  --m-area: #345b8c;

  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 10px;
  --max: 74rem;
  --font: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111a15;
    --surface: #18231d;
    --surface-2: #203029;
    --ink: #e6ede5;
    --ink-2: #a8b9ad;
    --line: #2c3d33;
    --line-strong: #46594d;
    --pine: #0c1510;
    --pine-2: #3f7d58;
    --link: #93d3a6;
    --on-pine: #f1f5ee;
    --on-pine-2: #b9ccbd;
    --focus: #f0c04a;
    --err: #ff8a80;
    --err-bg: #2a1716;
    --grid: rgba(200, 230, 210, .06);
    --m-gravel: #a7b6c2;
    --m-cube: #8fd0a4;
    --m-soil: #d0a27e;
    --m-sod: #9bd38a;
    --m-mulch: #dc9f72;
    --m-seed: #e3c15d;
    --m-concrete: #c3c6c0;
    --m-paver: #e59b7c;
    --m-sand: #e0c48c;
    --m-area: #9dbbe6;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--surface); color: var(--ink); padding: .6rem 1rem; z-index: 10; border-radius: 0 0 8px 0; }
.skip:focus { left: .5rem; top: .5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 48em) { .wrap { padding: 0 2rem; } }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.5rem; padding-top: .85rem; padding-bottom: .35rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); font-weight: 750; font-size: 1.3rem; letter-spacing: -.02em; text-decoration: none; }
.brand .logo { width: 2rem; height: 2rem; flex: none; }
.nav { display: flex; flex-wrap: wrap; gap: .15rem .1rem; flex: 1 1 100%; margin: 0 -.5rem; padding: .1rem .5rem .35rem; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { position: relative; display: block; white-space: nowrap; color: var(--ink-2); text-decoration: none; padding: .45rem .7rem; border-radius: 999px; font-size: .97rem; font-weight: 500; }
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-weight: 650; }
@media (min-width: 72em) {
  .site-header .wrap { flex-wrap: nowrap; padding-top: 1rem; padding-bottom: 1rem; }
  .nav { flex: 0 1 auto; flex-wrap: nowrap; margin: 0 0 0 auto; padding: 0; }
}

/* ---------- Type ---------- */
main { display: block; padding: 2rem 0 3.5rem; }
h1, h2, h3 { font-family: var(--font); color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 3.2vw + 1.2rem, 3.4rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 760; margin: .2rem 0 .7rem; }
h2 { font-size: clamp(1.5rem, 1vw + 1.2rem, 1.9rem); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; margin: 2.75rem 0 .75rem; }
h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 680; margin: 1.5rem 0 .4rem; }
p { margin: 0 0 1rem; }
.lead { font-size: clamp(1.1rem, .4vw + 1rem, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 40rem; margin: 0 0 1.5rem; text-wrap: pretty; }
.crumbs { font-size: .92rem; color: var(--ink-2); margin: 0 0 .9rem; }
.crumbs a { color: var(--ink-2); }
.muted { color: var(--ink-2); }

/* ---------- Home hero ---------- */
.hero { display: grid; gap: 1.5rem; align-items: center; padding: .5rem 0 2.25rem; }
.home h1 { font-size: clamp(2.5rem, 4.6vw + 1.1rem, 4.6rem); line-height: .98; letter-spacing: -.045em; font-weight: 780; max-width: 13ch; }
.hero .lead { margin-bottom: 0; }
.hero-visual { position: relative; }
.hero-art { display: block; width: 100%; height: auto; max-width: 34rem; margin: 0 auto; overflow: visible; }
@media (min-width: 56em) {
  .hero { grid-template-columns: 1fr 1.05fr; gap: 3rem; padding: 2rem 0 3.5rem; }
}

/* Hero illustration colours */
.a-sun { fill: var(--straw); opacity: .55; }
.a-trunk { fill: #6b4a33; }
.a-leaf { fill: #3f7a33; }
.a-leaf2 { fill: #5c9a44; }
.a-grass { fill: #6fae55; }
.a-tufts path { stroke: #4f8f3c; stroke-width: 3; stroke-linecap: round; fill: none; }
.a-soil { fill: #5b3d27; }
.a-soil-dot { fill: #8a6448; }
.a-gravel { fill: #8b98a3; }
.a-stone { fill: #c8d0d6; }
.a-stone2 { fill: #a9b4bd; }
.a-sub { fill: #d8c49a; }
.a-sub-line { stroke: #c4ad7f; stroke-width: 2; }
.a-dim { stroke: var(--ink-2); stroke-width: 1.6; fill: none; }
.a-txt { font: 650 15px var(--font); fill: var(--ink); }
.a-tagbg { fill: var(--bg); }
.a-lbl { font: 650 14px var(--font); fill: #fffaf2; letter-spacing: .01em; }
.a-lblbg { fill: rgba(18, 30, 23, .62); }
.a-lead { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 4 5; fill: none; }
.a-dot { fill: var(--ink); }
.a-chip { fill: var(--pine); }
.a-chiptxt { font: 700 19px var(--font); fill: var(--on-pine); letter-spacing: -.01em; }
@media (prefers-color-scheme: dark) { .a-chip { fill: #2c5a41; } .a-tagbg { fill: var(--bg); } .headline { background-color: #1d3a2b; } }

/* The one orchestrated moment: the layers settle into place on load. */
@media (prefers-reduced-motion: no-preference) {
  .hero-art .layer { animation: settle .8s cubic-bezier(.2, .8, .2, 1) both; }
  .hero-art .l-sub { animation-delay: .05s; }
  .hero-art .l-gravel { animation-delay: .17s; }
  .hero-art .l-soil { animation-delay: .29s; }
  .hero-art .l-grass { animation-delay: .41s; }
  .hero-art .l-sky { animation-delay: .5s; }
  .hero-art .l-chip { animation: chip .6s .95s cubic-bezier(.2, .9, .3, 1.2) both; transform-origin: 360px 121px; }
}
@keyframes settle { from { opacity: 0; transform: translateY(-22px); } to { opacity: 1; transform: none; } }
@keyframes chip { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }

/* ---------- Tool cards ---------- */
.tools { display: grid; gap: 1rem; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; }
@media (min-width: 36em) { .tools { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 60em) { .tools { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.tool-card {
  --m: var(--m-cube);
  position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; column-gap: 1rem; row-gap: .2rem;
  height: 100%; padding: 1.25rem 1.3rem 1.3rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s;
}
.tool-card::after { content: ""; position: absolute; left: 1.3rem; right: 1.3rem; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--m); opacity: 0; transition: opacity .2s; }
.tool-card:hover { border-color: var(--m); }
.tool-card:hover::after { opacity: 1; }
.tool-card .tool-ico { grid-row: 1 / 3; }
.tool-card strong { font-size: 1.2rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; align-self: center; }
.tool-blurb { color: var(--ink-2); font-size: .98rem; line-height: 1.5; }
.tool-ico { --m: var(--m-cube); display: inline-grid; place-items: center; width: 3.1rem; height: 3.1rem; border-radius: 14px; color: var(--m);
  background: color-mix(in srgb, var(--m) 13%, var(--surface)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--m) 22%, transparent); }
.tool-ico .ico { width: 1.75rem; height: 1.75rem; }
.m-gravel { --m: var(--m-gravel); }
.m-cubic-yard { --m: var(--m-cube); }
.m-topsoil { --m: var(--m-soil); }
.m-sod { --m: var(--m-sod); }
.m-mulch { --m: var(--m-mulch); }
.m-grass-seed { --m: var(--m-seed); }
.m-gravel .tool-ico, .tool-card.m-gravel .tool-ico { --m: var(--m-gravel); }
.m-cubic-yard .tool-ico { --m: var(--m-cube); }
.m-topsoil .tool-ico { --m: var(--m-soil); }
.m-sod .tool-ico { --m: var(--m-sod); }
.m-mulch .tool-ico { --m: var(--m-mulch); }
.m-grass-seed .tool-ico { --m: var(--m-seed); }
.m-concrete, .m-concrete .tool-ico { --m: var(--m-concrete); }
.m-paver, .m-paver .tool-ico { --m: var(--m-paver); }
.m-sand, .m-sand .tool-ico { --m: var(--m-sand); }
.m-square-footage, .m-square-footage .tool-ico { --m: var(--m-area); }

/* ---------- Calculator page head ---------- */
.page-head { padding: .25rem 0 .5rem; }
.title-row { display: flex; align-items: center; gap: 1rem; }
.title-row h1 { margin: 0; }
.tool-ico-lg { width: 3.6rem; height: 3.6rem; border-radius: 16px; flex: none; }
.tool-ico-lg .ico { width: 2.1rem; height: 2.1rem; }
.page-head .lead { margin-top: 1rem; }

/* ---------- Calculator ---------- */
.calc-grid { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); align-items: start; margin-top: .5rem; }
@media (min-width: 56em) {
  .calc-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 1.75rem; }
  .result-col { position: sticky; top: 1.25rem; }
}
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.2rem; }
@media (min-width: 36em) { .card { padding: 1.75rem; } }
.card h2 { margin: 0 0 1.1rem; font-size: 1.3rem; letter-spacing: -.015em; }
.calc fieldset { border: 0; margin: 0 0 1.15rem; padding: 0; min-width: 0; }
.calc legend, .lbl { font-weight: 650; display: block; margin-bottom: .45rem; padding: 0; font-size: .98rem; }
.field { margin-bottom: 1.1rem; }
.field label { font-weight: 650; display: block; margin-bottom: .4rem; font-size: .98rem; }
.inline { display: flex; }
.calc input[type="text"], .calc select, .contact-form input, .contact-form select, .contact-form textarea {
  font: 500 1.08rem/1.3 var(--font); color: var(--ink); background: var(--bg); border: 1.5px solid var(--line-strong); border-radius: var(--r-sm);
  padding: .7rem .85rem; min-height: 3.1rem; width: 100%; min-width: 0; transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.calc input[type="text"] { font-variant-numeric: tabular-nums; font-weight: 600; font-size: 1.15rem; }
.calc input[type="text"]:hover, .calc select:hover { border-color: var(--ink-2); }
.calc input[type="text"]:focus, .calc select:focus, .contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { background: var(--surface); border-color: var(--pine-2); }
.contact-form input:focus-visible, .contact-form select:focus-visible, .contact-form textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.calc input:focus-visible, .calc select:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.calc select, .contact-form select {
  -webkit-appearance: none; appearance: none; padding-right: 2.3rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%234a5b50' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .75rem center; background-size: 1rem;
}
@media (prefers-color-scheme: dark) {
  .calc select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23a8b9ad' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
}
.calc .inline input[type="text"] { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.calc .inline select { width: 5.4rem; flex: none; margin-left: -1.5px; border-top-left-radius: 0; border-bottom-left-radius: 0; background-color: var(--surface-2); font-weight: 600; }
.calc input[aria-invalid="true"] { border-color: var(--err); background: var(--err-bg); }
.hint { font-size: .9rem; line-height: 1.45; color: var(--ink-2); margin: .4rem 0 0; }
.err { color: var(--err); font-size: .92rem; margin: .4rem 0 0; font-weight: 600; }
.err[hidden], [hidden] { display: none !important; }

/* Units: a segmented switch built on the native radios */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; padding: .25rem; background: var(--surface-2); border-radius: 999px; }
.seg label { position: relative; display: inline-flex; align-items: center; justify-content: center; text-align: center; white-space: nowrap; min-height: 2.6rem; padding: 0 .7rem; border-radius: 999px; font-weight: 600; font-size: .97rem; color: var(--ink-2); cursor: pointer; transition: background-color .15s, color .15s; }
@media (min-width: 30em) { .seg { display: inline-grid; } .seg label { padding: 0 1.1rem; } }
.seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg label:has(input:checked) { background: var(--pine); color: var(--on-pine); }
@media (prefers-color-scheme: dark) { .seg label:has(input:checked) { background: var(--pine-2); color: #fff; } }
.seg label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.two { display: grid; gap: 0 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 30em) { .two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.opts { border-top: 1px dashed var(--line-strong); padding-top: 1.2rem; margin-top: .4rem; }
.opts .field:last-child { margin-bottom: 0; }

/* ---------- Results ---------- */
.results { padding: 0; overflow: hidden; }
.results > * { margin-left: 1.2rem; margin-right: 1.2rem; }
.results > :last-child { margin-bottom: 1.2rem; }
.results > table { width: calc(100% - 2.4rem); }
.results > .muted { padding-top: 1.35rem; }
.headline {
  position: relative; margin: 0 0 1.1rem; padding: 1.5rem 1.35rem 1.75rem;
  background: var(--pine); color: var(--on-pine);
  background-image: radial-gradient(120% 90% at 100% 0%, rgba(227, 179, 65, .16), transparent 55%);
}
.results > .headline { margin-left: 0; margin-right: 0; }
.headline::after { /* the strata: grass, soil, stone */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 7px;
  background: linear-gradient(to bottom, #6fae55 0 2px, #6e4a2f 2px 4.5px, #8b98a3 4.5px 7px);
}
.headline p { margin: 0; }
.h-label { font-size: .98rem; font-weight: 600; color: var(--straw); }
.h-value { margin: .2rem 0 .35rem !important; line-height: 1; letter-spacing: -.04em; overflow-wrap: anywhere; }
.h-value .num { font-size: clamp(2.9rem, 6vw + 1rem, 4.2rem); font-weight: 780; font-variant-numeric: tabular-nums; }
.h-value .unit { font-size: clamp(1.15rem, 1vw + .9rem, 1.45rem); font-weight: 600; letter-spacing: -.01em; color: var(--on-pine-2); white-space: nowrap; margin-left: .12em; }
.h-sub { font-size: 1rem; color: var(--on-pine-2); }
@media (prefers-reduced-motion: no-preference) {
  .headline.is-new .h-value { animation: rise .38s cubic-bezier(.2, .8, .2, 1); }
}
@keyframes rise { from { opacity: .25; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.note { font-size: .93rem; color: var(--ink-2); margin-top: .6rem; margin-bottom: 0; }
.note strong { color: var(--ink); }
@media (min-width: 36em) {
  .results > * { margin-left: 1.75rem; margin-right: 1.75rem; }
  .results > :last-child { margin-bottom: 1.75rem; }
  .results > table { width: calc(100% - 3.5rem); }
  .headline { padding: 1.75rem 1.75rem 2rem; }
}

/* Tables (results and articles) */
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
caption { text-align: left; font-weight: 700; padding: 0 0 .5rem; color: var(--ink); caption-side: top; font-size: 1rem; }
th, td { padding: .55rem .7rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { font-size: .88rem; font-weight: 650; color: var(--ink-2); border-bottom: 1.5px solid var(--line-strong); }
tbody th { font-weight: 550; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.res { margin-top: 1.2rem; margin-bottom: 0; font-size: .97rem; width: auto; }
.res td { font-weight: 650; }
@media (max-width: 29.99em) { .res { font-size: .92rem; } .res th, .res td { padding: .5rem .4rem; } }
.res th:first-child, .res td:first-child { padding-left: 0; }
.res td:last-child, .res th:last-child { padding-right: 0; }
.table-wrap { overflow-x: auto; margin: 1.1rem 0 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: .9rem 1.1rem .5rem; }
.table-wrap table { min-width: 28rem; }

/* Copy / share */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .85rem; }
.btn-soft {
  display: inline-flex; align-items: center; gap: .45rem; font: 600 .95rem/1 var(--font); color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 999px; padding: .65rem 1rem; min-height: 2.75rem; cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.btn-soft:hover { background: var(--surface-2); border-color: var(--ink-2); }
.btn-soft svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.share-status { flex-basis: 100%; margin: .1rem 0 0 .25rem; min-height: 1.4em; font-size: .92rem; font-weight: 600; color: var(--link); }

/* ---------- Ads: a quiet, fixed reservation so a late ad never shifts content ---------- */
.ad-slot { display: block; width: 100%; max-width: 100%; min-height: 100px; margin: 2.25rem auto; overflow: hidden; text-align: center; contain: layout paint; }
@media (min-width: 48em) { .ad-slot { min-height: 90px; } }

/* ---------- Article content ---------- */
.content { max-width: 46rem; }
.content p, .content li { max-width: 44rem; text-wrap: pretty; }
.content > section:first-child > h2:first-child { margin-top: 1.5rem; }
.content ul { padding-left: 1.2rem; }
.content li { margin: .25rem 0; }
.content li::marker { color: var(--ink-2); }
.formula {
  margin: 1.2rem 0 1.4rem; padding: 1.1rem 1.3rem; border-radius: var(--r-md);
  font-weight: 650; font-size: 1.05rem; line-height: 1.8; font-variant-numeric: tabular-nums;
  background-color: var(--surface); border: 1px solid var(--line); box-shadow: inset 4px 0 0 var(--pine-2);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 18px 18px; background-position: -1px -1px;
}
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); margin: .6rem 0; }
.faq summary { position: relative; cursor: pointer; font-weight: 650; padding: 1rem 3rem 1rem 1.2rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 1.2rem; top: 50%; width: .75rem; height: .75rem; margin-top: -.5rem;
  border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -.15rem; }
.faq summary:focus-visible { border-radius: var(--r-md); outline-offset: -3px; }
.faq p { margin: 0; padding: 0 1.2rem 1.15rem; color: var(--ink-2); }
.related { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); margin: 1rem 0 0; padding: 0; list-style: none; max-width: none !important; }
.content .related li { margin: 0; max-width: none; }
.related a { display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink); text-decoration: none; height: 100%; }
.related a:hover { border-color: var(--m); }
.related .ico { width: 1.5rem; height: 1.5rem; flex: none; color: var(--m); }
.related strong { font-weight: 620; }
.disclaimer { font-size: .9rem; color: var(--ink-2); border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1rem; }
.home-content { margin-top: 1rem; }

/* Contact */
.contact-form { max-width: 36rem; }
.contact-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.contact-form textarea { min-height: 9rem; resize: vertical; }
.contact-form[disabled], fieldset[disabled] { opacity: .6; }
.btn { font: 650 1rem/1 var(--font); background: var(--pine); color: var(--on-pine); border: 0; border-radius: 999px; padding: .85rem 1.4rem; min-height: 2.9rem; }
.btn { cursor: pointer; transition: background-color .15s, transform .15s; }
.btn:hover { background: var(--pine-2); }
.btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.btn[disabled] { cursor: not-allowed; opacity: .65; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.4em; margin: .9rem 0 0; font-weight: 600; font-size: .95rem; color: var(--link); }
.form-status.is-error { color: var(--err); }
.form-done { max-width: 36rem; border-color: var(--link); }
.form-done h3 { margin: 0 0 .5rem; font-size: 1.25rem; }
.form-done p { margin: 0; }
.form-done:focus { outline: none; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--pine); color: var(--on-pine-2); font-size: .95rem; margin-top: 1rem; }
.strata { height: 12px; background: linear-gradient(to bottom, #6fae55 0 4px, #6e4a2f 4px 8px, #8b98a3 8px 12px); }
.foot-grid { display: grid; gap: 1.5rem 2.5rem; grid-template-columns: 1fr; padding-top: 2.5rem; padding-bottom: 2rem; }
@media (min-width: 48em) { .foot-grid { grid-template-columns: 1.4fr 1fr .8fr; } }
.site-footer a { color: var(--on-pine); text-decoration-color: rgba(255, 255, 255, .35); }
.site-footer a:hover { text-decoration-color: currentColor; }
.brand-foot { color: var(--on-pine); margin-bottom: .75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; align-content: start; }
.site-footer p { margin: 0; max-width: 30rem; }
.site-footer .foot-copy { max-width: none; grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 1.25rem; font-size: .9rem; }
.site-footer :focus-visible { outline-color: var(--straw); }

noscript .card { border-color: var(--err); margin-top: 1rem; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
@media print { .site-header, .site-footer, .ad-slot, .related, .nav, .share { display: none; } .headline { background: none; color: #000; } }
