/* Rowanspring. Palette from the brand guide: rowan red, spring blue, field green, warm stone,
   limewash. Type: Source Serif 4 (headings) + Source Sans 3 (text), self-hosted (SIL OFL, see
   assets/fonts). Body text pairs checked for WCAG AA. */
@font-face { font-family: "Source Serif 4"; src: url("/assets/fonts/source-serif-4.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/source-sans-3.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/source-sans-3-italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }

:root {
  --rowan: #B8322A; --rowan-ink: #9E2A23; --rowan-soft: #FBEDEA;
  --spring: #3E86A8; --spring-ink: #2A6684; --spring-soft: #EAF3F7;
  --field: #4E7A43; --field-ink: #3D6234; --field-soft: #EDF3EA;
  --deep: #24372B; --stone: #E8DFD0; --stone-2: #F2ECE2; --lime: #FAF7F1; --slate: #5C6469; --white: #fff;
  --ok: #2F6B3A; --warn: #7F5300; --warn-soft: #FBF3E2; --bad: #9B2A22;
  --font-head: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r-sm: 8px; --r: 14px; --r-lg: 22px;
  --shadow: 0 1px 2px rgba(36, 55, 43, .06), 0 8px 24px rgba(36, 55, 43, .08);
  --shadow-lg: 0 2px 4px rgba(36, 55, 43, .06), 0 18px 48px rgba(36, 55, 43, .14);
  --measure: 42rem; --base: 1.0625rem;
}
html.large-text { --base: 1.25rem; }
* { box-sizing: border-box; }
html { font-size: var(--base); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--lime); color: var(--deep); font-family: var(--font-body); line-height: 1.65; text-rendering: optimizeLegibility; }
img { max-width: 100%; }
a { color: var(--spring-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--deep); text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.18; color: var(--deep); font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); margin: .3em 0 .35em; letter-spacing: -.02em; }
h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); margin: 1.9em 0 .5em; }
h3 { font-size: 1.22rem; margin: 1.4em 0 .4em; }
h4 { font-size: 1.05rem; margin: 1.2em 0 .3em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--spring); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 70rem; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }
.narrow { max-width: 50rem; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 99; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.small { font-size: .9rem; color: var(--slate); }
.hint { font-size: .92rem; color: var(--slate); margin: .2em 0 .6em; }
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--field); margin: 0 0 .4em; }

/* icons */
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.25em; }
.ico .ac { fill: var(--rowan); stroke: none; }
.ico .acs { stroke: var(--rowan); }
.ico-lg { width: 2.4rem; height: 2.4rem; color: var(--field); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; background: var(--field); color: var(--white); border: 0; border-radius: 999px; padding: .7em 1.25em; font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--field-ink); color: var(--white); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn .ico { width: 1.1em; height: 1.1em; }
.btn-quiet { background: var(--white); color: var(--deep); box-shadow: inset 0 0 0 1px var(--stone); }
.btn-quiet:hover { background: var(--stone-2); color: var(--deep); }
.btn-big { font-size: 1.08rem; padding: .95em 1.5em; box-shadow: 0 6px 18px rgba(78, 122, 67, .28); }
.btn-sm { font-size: .9rem; padding: .55em 1em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; }
.arrow-link { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; text-decoration: none; }
.arrow-link .ico { transition: transform .15s; } .arrow-link:hover .ico { transform: translateX(3px); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* header */
.demo-strip { background: var(--rowan); color: var(--white); text-align: center; padding: 6px 16px; font-weight: 600; font-size: .92rem; }
.site-header { background: rgba(255, 255, 255, .92); border-bottom: 1px solid var(--stone); position: sticky; top: 0; z-index: 20; backdrop-filter: saturate(1.4) blur(8px); }
.header-row { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--deep); font-family: var(--font-head); font-weight: 600; font-size: 1.38rem; letter-spacing: -.01em; }
.brand:hover { color: var(--deep); text-decoration: none; }
.mark { width: 34px; height: 34px; flex: none; }
.site-nav { order: 3; flex-basis: 100%; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
.site-nav::-webkit-scrollbar { display: none; }
@media (max-width: 1199px) { .site-nav { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); } .site-nav li:last-child { padding-right: 24px; } }
.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; white-space: nowrap; }
.site-nav a { display: block; padding: 6px 10px; border-radius: 999px; text-decoration: none; color: var(--deep); font-weight: 600; font-size: .94rem; }
.site-nav a:hover { background: var(--stone-2); }
.site-nav a[aria-current="page"] { background: var(--field-soft); color: var(--field-ink); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.text-size { background: none; border: 1px solid var(--stone); border-radius: 999px; width: 38px; height: 38px; font: inherit; font-weight: 700; color: var(--deep); cursor: pointer; font-size: .8rem; line-height: 1; }
.text-size span span { font-size: 1.25em; }
.text-size[aria-pressed="true"] { background: var(--deep); color: var(--white); border-color: var(--deep); }
@media (min-width: 1200px) {
  .site-nav { order: 0; flex-basis: auto; margin: 0; padding: 0; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .header-row { flex-wrap: nowrap; }
}
@media (max-width: 420px) { .header-cta { display: none; } }
/* menu button: below 1200px with JS, the nav folds into a panel under the header */
.menu-btn { display: none; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--stone); border-radius: 999px; height: 38px; padding: 0 14px 0 12px; font: inherit; font-weight: 700; font-size: .9rem; color: var(--deep); cursor: pointer; }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 16px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.menu-bars { position: relative; } .menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -5px; } .menu-bars::after { top: 5px; }
.menu-btn[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-bars::before { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bars::after { transform: translateY(-5px) rotate(-45deg); }
@media (max-width: 1199px) {
  .js .menu-btn { display: inline-flex; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 10px 16px 18px; background: var(--white); border-bottom: 1px solid var(--stone); box-shadow: 0 18px 30px rgba(36, 55, 43, .12); -webkit-mask-image: none; mask-image: none; overflow: visible; }
  .js .site-nav.is-open ul { flex-direction: column; gap: 2px; max-width: 70rem; margin: 0 auto; white-space: normal; }
  .js .site-nav.is-open li:last-child { padding-right: 0; }
  .js .site-nav.is-open a { padding: 12px 14px; border-radius: 10px; font-size: 1.05rem; }
}
@media (max-width: 1199px) { .js .header-row { flex-wrap: nowrap; column-gap: 12px; } }
@media (max-width: 479px) { .brand { font-size: 1.2rem; gap: 7px; } .mark { width: 30px; height: 30px; } }
@media (max-width: 360px) { .menu-label { display: none; } .menu-btn { padding: 0 11px; } }

/* home: hero (editorial layout adapted from 21st.dev "Editorial Image Hero", felipemenezes098/hero-07) */
.hero { padding: clamp(1.6rem, 4vw, 3.4rem) 0 0; background: radial-gradient(120% 70% at 85% 0%, var(--field-soft) 0%, rgba(250, 247, 241, 0) 60%), var(--lime); }
.hero-top { display: grid; gap: 8px 48px; align-items: end; }
@media (min-width: 900px) { .hero-top { grid-template-columns: 1.15fr 1fr; padding-bottom: 8px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--field-ink); font-weight: 700; margin: 0; font-size: .95rem; }
.eyebrow .ico { color: var(--spring); }
.hero h1 { font-size: clamp(2.5rem, 1.6rem + 4.4vw, 4.6rem); line-height: 1.02; margin: .25em 0 .2em; }
.hero h1 em { font-style: normal; color: var(--field); display: block; }
.hero-copy { font-size: 1.12rem; max-width: 34rem; }
.hero-copy p { margin-bottom: .9em; }
.hero-actions { margin: 1.2em 0 .6em; }
.hero-sub { margin: 0 0 .4em; }
.hero-figure { position: relative; margin: clamp(1.5rem, 4vw, 2.6rem) 0 0; }
.hero-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .hero-img { aspect-ratio: 21 / 9; } }
.hero-figure figcaption { position: absolute; left: 14px; bottom: 14px; right: 14px; width: fit-content; display: flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .92); color: var(--deep); font-size: .88rem; font-weight: 600; padding: 7px 12px; border-radius: 999px; box-shadow: var(--shadow); }
.hero-figure figcaption .ico { color: var(--field); }
@media (max-width: 560px) { .hero-figure figcaption { position: static; margin-top: 10px; border-radius: 10px; } }

.band { border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone); }
.nations-band { background: var(--white); margin-top: clamp(1.6rem, 4vw, 3rem); }
.nations-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding-top: 16px; padding-bottom: 16px; }
.nations-lead { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 700; }
.nations-lead .ico { color: var(--field); }
.nation-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.nation-chips li { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; display: flex; flex-direction: column; line-height: 1.2; }
.nation-chips span { font-family: var(--font-body); font-weight: 400; font-size: .82rem; color: var(--slate); }

.section { padding-top: clamp(2.2rem, 5vw, 4rem); padding-bottom: .5rem; }
.section-head h2 { margin-top: 0; }
.section-head p:not(.kicker) { color: var(--slate); max-width: 34rem; }
.cards { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 600px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card a { display: flex; flex-direction: column; height: 100%; background: var(--white); border-radius: var(--r); text-decoration: none; color: var(--deep); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card a:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--deep); }
.card-img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.card-band { display: block; aspect-ratio: 3 / 2; background: repeating-linear-gradient(135deg, var(--stone) 0 12px, var(--stone-2) 12px 24px); }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.card-no { font-family: var(--font-head); color: var(--rowan); font-weight: 600; font-size: .95rem; }
.card-body strong { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; line-height: 1.25; }
.card-text { color: var(--slate); font-size: .96rem; }
.card-go { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; color: var(--field-ink); font-weight: 700; }
.card a:hover .card-go .ico { transform: translateX(3px); }
.card-go .ico { transition: transform .15s; }

.split { display: grid; gap: 12px 56px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1.6fr; align-items: start; } .split .section-head { position: sticky; top: 90px; } }
.guide-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.guide-list a { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--white); border-radius: var(--r); text-decoration: none; color: var(--deep); box-shadow: inset 0 0 0 1px var(--stone); transition: box-shadow .15s; }
.guide-list a:hover { box-shadow: inset 0 0 0 2px var(--field); color: var(--deep); }
.guide-list .ico { color: var(--field); margin-top: .2em; width: 1.4em; height: 1.4em; }
.guide-list strong { display: block; font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; }
.guide-list span span { display: block; color: var(--slate); font-size: .94rem; margin-top: 2px; }

.trust-band { background: var(--white); margin-top: clamp(2.2rem, 5vw, 4rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.trust-grid { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.trust-grid h3 { margin: .6em 0 .3em; }
.trust-grid p { color: var(--slate); margin: 0; }
.coming { padding-bottom: 1rem; }
.topic-chips { list-style: none; padding: 0; margin: .4rem 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.topic-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--stone-2); color: var(--slate); font-weight: 600; font-size: .94rem; }
.topic-chips .ico { color: var(--field); }

/* article */
.page-head { background: linear-gradient(180deg, var(--white) 0%, var(--lime) 100%); border-bottom: 1px solid var(--stone); padding: 1.1rem 0 1.2rem; }
.crumbs { font-size: .88rem; color: var(--slate); }
.crumbs a { color: var(--slate); }
.page-head h1 { margin: .35em 0 .4em; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0; }
.byline { color: var(--slate); font-size: .95rem; }
.rules-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--field-soft); color: var(--ok); border-radius: 999px; padding: 4px 12px 4px 8px; font-size: .86rem; font-weight: 700; }
.rules-badge-pending { background: var(--warn-soft); color: var(--warn); }
.rules-badge .ico { width: 1.15em; height: 1.15em; }
.rules-badge .ico .acs { stroke: currentColor; }
.content { padding-top: 1.2rem; }
.prose h2 { scroll-margin-top: 90px; }
.toc { background: var(--white); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--stone); padding: 10px 16px; margin: 0 0 1rem; font-size: .95rem; }
.toc summary { font-weight: 700; cursor: pointer; color: var(--deep); }
.toc ol { list-style: none; margin: .5rem 0 .2rem; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 5px 8px; margin: 0 -8px; border-radius: 8px; text-decoration: none; color: var(--slate); line-height: 1.35; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-head); font-weight: 600; color: var(--rowan); font-size: .85rem; padding-top: 1px; }
.toc a:hover { background: var(--stone-2); color: var(--deep); }
.toc a[aria-current] { background: var(--field-soft); color: var(--field-ink); font-weight: 700; }
@media (min-width: 1200px) {
  .has-toc .page-head .wrap, .has-toc .content { max-width: 70rem; }
  .has-toc .page-head .wrap > * { max-width: 50rem; }
  .has-toc .content { display: grid; grid-template-columns: minmax(0, 46rem) 15rem; justify-content: space-between; column-gap: 48px; }
  .has-toc .content > * { grid-column: 1; }
  .has-toc .content > .toc { grid-column: 2; grid-row: 1 / span 30; align-self: start; position: sticky; top: 86px; margin-top: 1rem; max-height: calc(100vh - 110px); overflow: hidden auto; background: none; box-shadow: none; padding: 0; }
  .has-toc .toc summary { list-style: none; pointer-events: none; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
  .has-toc .toc summary::-webkit-details-marker { display: none; }
  .has-toc .toc ol { border-left: 2px solid var(--stone); padding-left: 12px; }
  .has-toc .toc a { margin: 0; }
}
.prose { max-width: var(--measure); }
.prose h2 { position: relative; padding-top: .7em; }
.prose h2::before { content: ""; position: absolute; top: 0; left: 0; width: 36px; height: 3px; border-radius: 2px; background: var(--rowan); }
.prose li { margin: .3em 0; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.stub-flag { background: var(--warn-soft); border: 1px dashed #D9B76A; padding: 8px 12px; border-radius: var(--r-sm); color: var(--warn); font-weight: 600; margin-top: .4rem; }
.editor-note { display: block; background: #FFF8E1; border-left: 4px solid #E0B44C; padding: 6px 10px; margin: .6em 0; font-size: .92rem; color: #5A4500; border-radius: 0 6px 6px 0; }
.callout { border-radius: var(--r); padding: 12px 16px; margin: 1rem 0; background: var(--white); box-shadow: inset 0 0 0 1px var(--stone); }
.callout p { margin: 0; }
.callout-legal { box-shadow: inset 4px 0 0 var(--spring), inset 0 0 0 1px var(--stone); }
.callout-confined, .callout-electrical { background: var(--rowan-soft); box-shadow: inset 4px 0 0 var(--rowan); }
.callout-water { background: var(--spring-soft); box-shadow: inset 4px 0 0 var(--spring); }
.callout-tax, .callout-none { box-shadow: inset 4px 0 0 var(--slate), inset 0 0 0 1px var(--stone); }
.installer-box { background: var(--white); border-radius: var(--r); padding: 6px 22px 14px; margin-top: 2.2rem; box-shadow: var(--shadow); }
.installer-box h2 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; margin: .8em 0 .5em; }
.installer-box h2 .ico { color: var(--field); width: 1.4em; height: 1.4em; }
.installer-box ol { padding-left: 1.3rem; }
.installer-box li { margin: .35em 0; }
.related { margin-top: 2.2rem; }
.related h2 { font-size: 1.3rem; }
.related ul { list-style: none; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.related a { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: var(--r-sm); background: var(--white); box-shadow: inset 0 0 0 1px var(--stone); text-decoration: none; color: var(--deep); font-weight: 600; }
.related a:hover { box-shadow: inset 0 0 0 2px var(--field); }
.related .ico { color: var(--field); }
.sister { color: var(--slate); }
.email-capture { display: flex; gap: 16px; align-items: flex-start; background: var(--field-soft); border-radius: var(--r); padding: 16px 20px; margin-top: 2.2rem; }
.email-capture h2 { font-size: 1.2rem; margin: 0 0 .2em; }
.email-capture p { margin: 0; color: var(--deep); }

/* tools */
.nation-picker { border: 0; background: var(--white); border-radius: var(--r); padding: 14px 18px 8px; margin: 1.2rem 0 .9rem; box-shadow: var(--shadow); }
.nation-picker legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; padding: 0; margin-bottom: 10px; }
.nation-picker legend + * { clear: both; }
.step-no { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--field); color: var(--white); font-family: var(--font-body); font-size: .9rem; font-weight: 700; flex: none; }
.step-no .ico { width: 17px; height: 17px; }
.nation-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 640px) { .nation-options { grid-template-columns: repeat(4, 1fr); } }
.nation-opt { position: relative; display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 10px; border-radius: 10px; background: var(--lime); box-shadow: inset 0 0 0 1px var(--stone); font-weight: 700; text-align: center; cursor: pointer; transition: box-shadow .15s, background .15s; }
.nation-opt:hover { box-shadow: inset 0 0 0 2px var(--field); }
.nation-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.nation-opt:has(input:checked) { background: var(--field); color: var(--white); box-shadow: none; }
.nation-opt:has(input:focus-visible) { outline: 3px solid var(--spring); outline-offset: 2px; }
.tool { background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.tool-head { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 18px; background: var(--deep); color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }
.tool-head .ico { color: #CFE0C9; width: 1.4em; height: 1.4em; }
.tool-head .ico .ac { fill: #E88A80; } .tool-head .ico .acs { stroke: #E88A80; }
.tool-kicker { font-family: var(--font-body); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: #CFE0C9; font-weight: 700; margin-right: 6px; }
.tool-body { padding: 16px 18px 18px; }
.field { border: 0; padding: 0; margin: 0 0 1.3rem; min-width: 0; }
.field > legend, .field > label:not(.choice) { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; margin-bottom: 8px; padding: 0; }
.step-soft { background: var(--field-soft); color: var(--field-ink); }
.choices-grid { display: grid; gap: 8px; }
@media (min-width: 640px) { .choices-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.choices-grid .choice { margin: 0; }
.choice { position: relative; display: flex; gap: 10px; align-items: flex-start; padding: 11px 14px; margin: 0 0 6px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--stone); background: var(--white); cursor: pointer; transition: box-shadow .15s, background .15s; }
.choice:hover { box-shadow: inset 0 0 0 2px var(--field); }
.choice input { margin-top: .3em; accent-color: var(--field); width: 1.05em; height: 1.05em; flex: none; }
.choice:has(input:checked) { background: var(--field-soft); box-shadow: inset 0 0 0 2px var(--field); font-weight: 600; }
input[type=number], input[type=text], input[type=email], input[type=date], select, textarea { font: inherit; padding: 10px 12px; border: 0; box-shadow: inset 0 0 0 1px #C9C0B0; border-radius: 10px; width: 100%; max-width: 26rem; background: var(--white); color: var(--deep); }
input:focus, select:focus, textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--spring); }
.progress { display: flex; align-items: center; gap: 12px; margin: 0 0 1.1rem; font-size: .86rem; font-weight: 700; color: var(--slate); }
.progress-bar { flex: 1; max-width: 16rem; height: 6px; border-radius: 99px; background: var(--stone-2); overflow: hidden; }
.progress-bar span { display: block; height: 100%; border-radius: inherit; background: var(--field); transition: width .3s ease; }
.result-jump { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 30; display: inline-flex; align-items: center; gap: 8px; background: var(--deep); color: var(--white); text-decoration: none; font-weight: 700; padding: 11px 20px; border-radius: 999px; box-shadow: var(--shadow-lg); animation: rs-rise .25s ease-out; }
.result-jump:hover { color: var(--white); background: var(--field-ink); }
@keyframes rs-rise { from { opacity: 0; transform: translate(-50%, 10px); } }
#rs-result { scroll-margin-top: 90px; }
.result-actions { margin: .4rem 0 0; }
.need-nation, .loading { color: var(--slate); margin: 0; display: flex; align-items: center; gap: 8px; }
.need-nation::before { content: "↑"; font-weight: 700; color: var(--field); }
.result { margin-top: 1.2rem; padding: 18px 20px 6px; border-radius: var(--r); background: var(--lime); box-shadow: inset 0 0 0 1px var(--stone); }
.result h3 { margin: .15rem 0 .5rem; font-size: 1.45rem; }
.result-meets > h3, .result-upgrade > h3, .result-permit > h3, .result-check > h3 { display: flex; align-items: center; gap: 10px; }
.result-meets > h3::before, .result-upgrade > h3::before, .result-permit > h3::before, .result-check > h3::before { display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; color: var(--white); font-family: var(--font-body); font-size: 1.05rem; font-weight: 800; }
.result-meets > h3::before { content: "✓"; background: var(--ok); }
.result-upgrade > h3::before { content: "!"; background: var(--bad); }
.result-permit > h3::before, .result-check > h3::before { content: "?"; background: #A87A1F; }
.result h4 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); margin: 1.3em 0 .4em; }
.result-kicker { display: inline-block; text-transform: uppercase; letter-spacing: .08em; font-size: .74rem; color: var(--slate); margin: 0; font-weight: 700; }
.result-meets { background: var(--field-soft); box-shadow: inset 5px 0 0 var(--ok); } .result-meets h3 { color: var(--ok); }
.result-upgrade { background: var(--rowan-soft); box-shadow: inset 5px 0 0 var(--bad); } .result-upgrade h3 { color: var(--bad); }
.result-permit, .result-check { background: var(--warn-soft); box-shadow: inset 5px 0 0 #C99A3B; } .result-permit h3, .result-check h3 { color: var(--warn); }
.reasons { padding-left: 1.2rem; }
.reasons li { margin-bottom: .2em; }
.source-line { font-size: .84rem; color: var(--slate); margin: .15em 0 .6em; }
.unconfirmed { background: var(--white); border-radius: 10px; padding: 12px 16px 4px; box-shadow: inset 4px 0 0 #C99A3B, inset 0 0 0 1px var(--stone); }
.official-links ul { padding-left: 1.2rem; }
.warn { color: var(--bad); }
.installer-questions { margin: 1rem 0; background: var(--white); border-radius: 10px; box-shadow: inset 0 0 0 1px var(--stone); padding: 10px 14px; }
.installer-questions summary { font-weight: 700; cursor: pointer; }
.installer-questions ol { margin-bottom: 4px; }
.email-stub { color: var(--slate); font-size: .9rem; }
.demo-banner { background: var(--rowan); color: var(--white); padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: .92rem; }
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 12px; margin-top: .6rem; }
.option { background: var(--white); border-radius: 12px; padding: 12px 14px 6px; box-shadow: inset 0 0 0 1px var(--stone); }
.option h3 { font-size: 1.15rem; margin: 0 0 .25rem; }
.option ul { padding-left: 1.1rem; font-size: .95rem; }
.fit { display: inline-block; font-weight: 700; font-size: .82rem; border-radius: 999px; padding: 2px 10px; margin: 0 0 .3rem; }
.option-possible { box-shadow: inset 0 4px 0 var(--ok), inset 0 0 0 1px var(--stone); } .option-possible .fit { background: var(--field-soft); color: var(--ok); }
.option-unlikely { box-shadow: inset 0 4px 0 var(--bad), inset 0 0 0 1px var(--stone); } .option-unlikely .fit { background: var(--rowan-soft); color: var(--bad); }
.option-unconfirmed { box-shadow: inset 0 4px 0 #C99A3B, inset 0 0 0 1px var(--stone); } .option-unconfirmed .fit { background: var(--warn-soft); color: var(--warn); }
.checklist ul { list-style: none; padding: 0; }
.checklist li { padding: 7px 0; border-bottom: 1px solid var(--stone); }
.checklist label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.checklist input { accent-color: var(--field); margin-top: .35em; width: 1.05em; height: 1.05em; flex: none; }
.card-tool { display: grid; gap: 22px; }
@media (min-width: 900px) { .card-tool { grid-template-columns: 1fr 1fr; } }
.card-tool .field > label:not(.choice) { font-family: var(--font-body); font-size: .95rem; font-weight: 700; }
.card-tool .field { margin-bottom: .9rem; }
.system-card { background: var(--white); border-radius: 6px; padding: 16px 20px; align-self: start; box-shadow: var(--shadow-lg); border-top: 6px solid var(--field); position: sticky; top: 90px; }
.system-card h3 { margin: 0 0 .5rem; }
.system-card dl { margin: 0; }
.card-row { display: grid; grid-template-columns: 11rem 1fr; gap: 8px; border-bottom: 1px dashed var(--stone); padding: 6px 0; }
.card-row dt { font-weight: 700; font-size: .86rem; color: var(--slate); }
.card-row dd { margin: 0; white-space: pre-wrap; }
.card-foot { font-size: .8rem; color: var(--slate); margin: .8rem 0 0; }
@media (max-width: 600px) { .card-row { grid-template-columns: 1fr; gap: 0; } .system-card { position: static; } }

/* footer */
.site-footer { margin-top: 4.5rem; background: var(--deep); color: #E9EEE6; padding: 2.6rem 0 1.4rem; }
.site-footer a, .site-footer .linklike { color: #E9EEE6; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer .small { color: #C3CCC0; }
.foot-grid { display: grid; gap: 24px 48px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-brand { display: flex; align-items: center; gap: 9px; font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; margin: 0 0 .3em; }
.foot-tag { font-family: var(--font-head); font-style: italic; color: #CFE0C9; margin-bottom: .6em; }
.foot-h { font-family: var(--font-body); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: #A9C2A1; margin: .3em 0 .7em; }
.foot-grid ul, .foot-base ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin: .35em 0; }
.foot-base { margin-top: 2rem; padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, .14); }
.foot-base ul { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .9rem; }

.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 34rem; background: var(--white); border-radius: var(--r); padding: 8px 18px 12px; z-index: 50; box-shadow: var(--shadow-lg); }
.cookie-banner[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* print: tool results and the system card print on their own */
@media print {
  body { background: var(--white); }
  .no-print, .site-header, .site-footer, .cookie-banner, .crumbs, .callout, .rules-badge, .email-capture, .related, .sister, .demo-strip, .tool-head { display: none !important; }
  .tool, .result { box-shadow: none; }
  .page-my-septic-system-card main * { visibility: hidden; }
  .page-my-septic-system-card .system-card, .page-my-septic-system-card .system-card * { visibility: visible; }
  .page-my-septic-system-card .system-card { position: absolute; left: 0; top: 0; width: 100%; box-shadow: none; border: 1px solid #999; }
  .page-selling-house-with-septic-tank main * { visibility: hidden; }
  .page-selling-house-with-septic-tank .printable, .page-selling-house-with-septic-tank .printable * { visibility: visible; }
  .page-selling-house-with-septic-tank .printable { position: absolute; left: 0; top: 0; width: 100%; }
  .printable button { display: none; }
}

/* Tanker access checker */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.access-row legend { font-weight: 700; padding: 0; margin-bottom: .4rem; }
.access-pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: .35rem; }
.access-pair label { font-size: .92rem; color: var(--slate); }
.access-status { margin: .5rem 0 0; font-weight: 700; font-size: .95rem; }
.status-ok { color: var(--ok); }
.status-problem { color: var(--bad); }
.status-ask, .status-missing { color: var(--slate); }
.access-extra { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0 1.2rem; margin-top: 1rem; }
.access-tool textarea { max-width: 100%; }
@media (min-width: 640px) { .access-pair { grid-template-columns: 1fr 8rem 1fr 8rem; align-items: center; } }

/* phones: give the tool and its result more of the screen width */
@media (max-width: 560px) {
  .tool-body { padding: 14px 12px 16px; }
  .result { padding: 14px 14px 4px; }
  .result ul, .result ol { padding-left: 1.1rem; }
  .result h3 { font-size: 1.3rem; }
}

/* contact form */
.contact-email { display: flex; align-items: center; gap: 10px; background: var(--white); border-radius: var(--r); padding: 12px 16px; box-shadow: inset 0 0 0 1px var(--stone); font-weight: 600; margin: 1.4rem 0 1rem; }
.contact-email .ico { color: var(--field); }
.contact-form { background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); padding: 20px 20px 8px; max-width: var(--measure); }
.contact-form .field > label:not(.choice) { font-family: var(--font-body); font-size: 1rem; font-weight: 700; }
.contact-form input[type=text], .contact-form input[type=email], .contact-form textarea { max-width: 100%; }
.contact-form input[type=email] { font: inherit; padding: 10px 12px; border: 0; box-shadow: inset 0 0 0 1px #C9C0B0; border-radius: 10px; width: 100%; background: var(--white); color: var(--deep); }
.contact-form input[type=email]:focus { outline: none; box-shadow: inset 0 0 0 2px var(--spring); }
.contact-form .tick { margin: 0 0 1rem; font-weight: 400; }
.contact-form .cf-turnstile { margin: 0 0 1rem; min-height: 65px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: var(--rowan-soft); color: var(--bad); border-radius: 10px; padding: 10px 14px; font-weight: 600; box-shadow: inset 4px 0 0 var(--bad); }
.form-error[hidden] { display: none; }
.foot-email { margin: .4em 0 0; }
.foot-email a { text-decoration: underline; text-underline-offset: 3px; }
