/* Sherman Business Services: site styles. Tokens and rationale: docs/design-plan.md */
@font-face { font-family: "IBM Plex Sans"; src: url(/assets/fonts/plex-sans-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url(/assets/fonts/plex-sans-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url(/assets/fonts/plex-sans-600.woff2) format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Serif"; src: url(/assets/fonts/plex-serif-700.woff2) format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(/assets/fonts/plex-mono-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(/assets/fonts/plex-mono-700.woff2) format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }

:root {
  --forest: #1a3a2d; --forest-2: #24503e; --green: #2e6a50; --ink: #17241d; --slate: #4c5e54;
  --mist: #eef3ef; --rule: #cfdad3; --rule-strong: #9fb3a7; --white: #fff;
  --due: #a8541a; --due-on-dark: #f2a765; --on-dark: #e9f0ec; --on-dark-muted: #b7c9bf; --on-dark-line: rgb(255 255 255 / .16);
  --serif: "IBM Plex Serif", Georgia, serif; --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif; --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --t-xs: .8125rem; --t-sm: .9375rem; --t-md: 1.0625rem; --t-lg: 1.3125rem; --t-xl: clamp(1.45rem, 1.2rem + 1vw, 1.65rem);
  --t-2xl: clamp(1.7rem, 1.35rem + 1.5vw, 2.05rem); --t-3xl: clamp(2.1rem, 1.5rem + 2.6vw, 3.2rem);
  --radius: 4px; --gutter: clamp(16px, 4vw, 40px); --measure: 68ch;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; font: 400 var(--t-md)/1.6 var(--sans); color: var(--ink); background: var(--white); font-variant-numeric: lining-nums; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; color: var(--forest); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.005em; }
h1 { font-size: var(--t-3xl); line-height: 1.1; }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-lg); }
p { margin: 0 0 1em; }
a { color: var(--green); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--forest); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 2px; }
.site-header :focus-visible, .site-footer :focus-visible, .band--dark :focus-visible, .cta-band :focus-visible { outline-color: var(--due-on-dark); }
ul { padding-left: 1.2em; }
.vh { position: absolute !important; 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: 1200px; margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.prose { max-width: var(--measure); }
.fig { font-family: var(--mono); font-variant-numeric: tabular-nums; font-weight: 600; letter-spacing: -.01em; }
.fig--lg { font-size: 1.35em; color: var(--forest); }
.fine { font-size: var(--t-xs); color: var(--slate); line-height: 1.55; }
.lead { font-size: var(--t-lg); color: var(--slate); line-height: 1.5; max-width: 60ch; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--white); color: var(--forest); padding: .6rem 1rem; border-radius: var(--radius); font-weight: 600; }
.skip:focus { top: 8px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.3rem; border-radius: var(--radius); border: 2px solid transparent; font: 600 var(--t-sm)/1.2 var(--sans); text-decoration: none; cursor: pointer; text-align: center; }
.btn--sm { min-height: 40px; padding: .45rem 1rem; }
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--forest); color: var(--white); }
.btn--due { background: var(--due-on-dark); color: var(--forest); }
.btn--due:hover { background: #f7bf8b; color: var(--forest); }
.btn--line { background: transparent; color: var(--forest); border-color: var(--rule-strong); }
.btn--line:hover { border-color: var(--forest); color: var(--forest); }
.btn--line-light { background: transparent; color: var(--white); border-color: rgb(255 255 255 / .45); }
.btn--line-light:hover { border-color: var(--white); color: var(--white); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }

/* header */
.site-header { background: var(--forest); color: var(--on-dark); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--on-dark-line); }
.site-header__inner { display: flex; align-items: center; gap: 1.25rem; min-height: 72px; }
.site-header__logo { flex: none; }
.site-header__logo img { width: 193px; height: 48px; }
.site-nav { margin-left: auto; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem 1.15rem; }
.site-nav a { color: var(--on-dark); text-decoration: none; font-size: .9375rem; padding: .5rem 0; display: inline-block; border-bottom: 2px solid transparent; white-space: nowrap; }
.site-nav a:hover { border-bottom-color: var(--on-dark-muted); color: var(--white); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--due-on-dark); }
.site-header__cta { flex: none; }
.menu-btn { display: none; }
@media (max-width: 1239px) {
  .site-header__inner { gap: .75rem; min-height: 64px; }
  .site-header__logo img { width: 161px; height: 40px; }
  .site-header__cta { margin-left: auto; }
  .menu-btn { display: inline-flex; align-items: center; gap: .55rem; min-height: 40px; padding: .45rem .8rem; background: transparent; color: var(--white); border: 1px solid var(--on-dark-line); border-radius: var(--radius); font: 600 var(--t-sm) var(--sans); cursor: pointer; }
  .menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { display: block; width: 16px; height: 2px; background: currentColor; position: relative; }
  .menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
  .menu-btn__bars::before { top: -5px; } .menu-btn__bars::after { top: 5px; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--forest); border-bottom: 1px solid var(--on-dark-line); margin: 0; }
  .site-nav.is-open { display: block; }
  .site-nav__list { flex-direction: column; gap: 0; padding: .5rem var(--gutter) 1rem; }
  .site-nav a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--on-dark-line); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--on-dark-line); box-shadow: inset 3px 0 0 var(--due-on-dark); padding-left: .75rem; }
}
@media (max-width: 479px) { .site-header__cta { display: none; } .menu-btn { margin-left: auto; } }

/* page head */
.page-head { padding: clamp(2.2rem, 5vw, 3.6rem) 0 clamp(1.6rem, 3vw, 2.4rem); border-bottom: 1px solid var(--rule); }
.page-head h1 { max-width: 22ch; }
.crumbs { font-size: var(--t-xs); color: var(--slate); margin-bottom: .9rem; }
.crumbs a { color: var(--slate); }

/* sections + the ledger grid: a label column and a body column, separated by a rule */
.sec { padding: clamp(2.4rem, 6vw, 4.5rem) 0; }
.sec--mist { background: var(--mist); }
.sec--tight { padding-top: 0; }
.ledger { display: grid; grid-template-columns: minmax(0, 1fr); gap: .25rem 2.5rem; padding: 1.6rem 0; border-top: 1px solid var(--rule); }
.ledger:first-child { border-top: 0; }
.ledger__label { font-family: var(--sans); font-size: var(--t-sm); font-weight: 600; color: var(--forest); letter-spacing: .02em; margin: 0 0 .5rem; }
@media (min-width: 900px) {
  .ledger { grid-template-columns: 220px minmax(0, 1fr); }
  .ledger__label { font-variant: small-caps; letter-spacing: .06em; font-size: 1.0625rem; text-transform: lowercase; padding-top: .2rem; }
}
.sec__intro { max-width: var(--measure); margin-bottom: 1.5rem; }
.sec__intro h2 { margin-bottom: .4em; }

/* hero */
.hero { padding: clamp(2.4rem, 6vw, 4.8rem) 0 clamp(2rem, 4vw, 3rem); }
.hero__grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(320px, .9fr); gap: 3.5rem; } }
.hero__kicker { font-size: var(--t-sm); color: var(--green); font-weight: 600; margin-bottom: .9rem; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero__sub { font-size: var(--t-lg); color: var(--slate); line-height: 1.5; max-width: 54ch; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin: 0; padding: 0; list-style: none; }
.facts li { padding: .9rem 1rem .9rem 0; font-size: var(--t-sm); color: var(--forest); font-weight: 600; }
.facts li + li { border-left: 1px solid var(--rule); padding-left: 1rem; }
@media (max-width: 719px) { .facts { grid-template-columns: 1fr 1fr; } .facts li + li { border-left: 0; padding-left: 0; } .facts li:nth-child(even) { border-left: 1px solid var(--rule); padding-left: 1rem; } .facts li:nth-child(n+3) { border-top: 1px solid var(--rule); } }

/* signature: "next due" ledger panel */
.nextdue { background: var(--forest); color: var(--on-dark); border-radius: var(--radius); padding: 1.4rem 1.5rem 1.2rem; }
.nextdue__h { font: 600 var(--t-xs)/1.3 var(--sans); color: var(--on-dark-muted); margin: 0 0 .8rem; letter-spacing: .04em; }
.nextdue__main { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; align-items: baseline; padding-bottom: 1rem; border-bottom: 1px solid var(--on-dark-line); }
.nextdue__date { font: 700 2rem/1 var(--mono); color: var(--due-on-dark); }
.nextdue__label { font: 600 var(--t-md)/1.35 var(--sans); color: var(--white); }
.nextdue__days { grid-column: 2; font: 400 var(--t-sm)/1.3 var(--mono); color: var(--on-dark-muted); }
.nextdue__then { list-style: none; margin: .8rem 0 1rem; padding: 0; font-size: var(--t-sm); }
.nextdue__then li { display: grid; grid-template-columns: 4.6rem 1fr; gap: .75rem; padding: .3rem 0; color: var(--on-dark); }
.nextdue__then .fig { color: var(--on-dark-muted); font-weight: 400; }
.nextdue a { color: var(--white); font-weight: 600; font-size: var(--t-sm); }
.nextdue__note { font-size: .75rem; color: var(--on-dark-muted); margin: .8rem 0 0; }

/* service rows (home) */
.rows { list-style: none; margin: 0; padding: 0; }
.rows > li { border-top: 1px solid var(--rule); }
.rows > li:last-child { border-bottom: 1px solid var(--rule); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .25rem 1.5rem; align-items: baseline; padding: 1rem 0; text-decoration: none; color: var(--ink); }
.row:hover .row__title { text-decoration: underline; text-decoration-thickness: 2px; }
.row__title { font: 700 var(--t-lg)/1.3 var(--serif); color: var(--forest); }
.row__desc { grid-column: 1; font-size: var(--t-sm); color: var(--slate); }
.row__fig { grid-column: 2; grid-row: 1; font-family: var(--mono); font-weight: 600; color: var(--forest); font-size: var(--t-md); white-space: nowrap; }
.row__fig small { font-family: var(--sans); font-weight: 400; color: var(--slate); font-size: var(--t-xs); margin-right: .35rem; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { padding: 1rem 1.25rem 1rem 0; border-top: 2px solid var(--forest); }
@media (min-width: 760px) { .steps li + li { padding-left: 1.25rem; border-left: 1px solid var(--rule); } }
.steps .n { font: 600 var(--t-sm) var(--mono); color: var(--due); display: block; margin-bottom: .35rem; }
.steps h3 { font-size: var(--t-md); margin-bottom: .35rem; }
.steps p { font-size: var(--t-sm); color: var(--slate); margin: 0; }

/* lists of services (tax page etc.) */
.checklist { list-style: none; padding: 0; margin: 0 0 1.25rem; columns: 1; }
@media (min-width: 720px) { .checklist--2 { columns: 2; column-gap: 2.5rem; } }
.checklist li { padding: .45rem 0 .45rem 1.5rem; position: relative; border-bottom: 1px solid var(--rule); break-inside: avoid; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .95em; width: .7rem; height: 2px; background: var(--green); }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.tags li { border: 1px solid var(--rule-strong); border-radius: 2px; padding: .25rem .65rem; font-size: var(--t-sm); color: var(--forest); }
.note { border-left: 3px solid var(--green); background: var(--mist); padding: 1rem 1.2rem; margin: 1.5rem 0; max-width: var(--measure); }
.note h3 { font-size: var(--t-md); margin-bottom: .3rem; }
.note p:last-child { margin: 0; }
.cards-2 { display: grid; gap: 1.5rem 2.5rem; }
@media (min-width: 820px) { .cards-2 { grid-template-columns: 1fr 1fr; } }
.svc h3 { margin-bottom: .4rem; }
.svc p { color: var(--slate); }
.svc .from { font-size: var(--t-sm); color: var(--forest); }

/* price list */
.price { padding: .25rem 0 1.4rem; }
.price + .price { border-top: 1px dashed var(--rule); padding-top: 1.2rem; }
.price__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; margin-bottom: .4rem; }
.price__title { font-size: var(--t-lg); margin: 0; }
.price__fig { margin: 0; text-align: right; }
.price__note { font-size: var(--t-xs); color: var(--slate); margin-right: .4rem; }
.price__items { list-style: none; padding: 0; margin: 0; font-size: var(--t-sm); }
.price__items li { padding: .38rem 0; border-bottom: 1px solid var(--mist); }
.price__items .fig { color: var(--forest); }
.tag { display: inline-block; vertical-align: .25em; font: 600 .6875rem/1 var(--sans); letter-spacing: .04em; color: var(--forest); border: 1px solid var(--forest); border-radius: 2px; padding: .25rem .4rem; margin-left: .4rem; }

/* tools: panels */
.tool { border: 1px solid var(--rule-strong); border-radius: var(--radius); padding: clamp(1.1rem, 3vw, 1.8rem); background: var(--white); max-width: 760px; }
.tool--dark { background: var(--forest); color: var(--on-dark); border-color: var(--forest); }
.tool--dark h2, .tool--dark h3, .tool--dark legend, .tool--dark label { color: var(--white); }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1.1rem; }
.field label, .field .label { font-weight: 600; font-size: var(--t-sm); }
.field .hint { font-size: var(--t-xs); color: var(--slate); margin: 0; }
.tool--dark .field .hint { color: var(--on-dark-muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  font: 400 var(--t-md) var(--sans); color: var(--ink); background: var(--white); border: 1px solid var(--rule-strong); border-radius: var(--radius); padding: .65rem .75rem; min-height: 48px; width: 100%; }
textarea { min-height: 140px; resize: vertical; }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: #b3261e; border-width: 2px; }
.err { color: #b3261e; font-size: var(--t-xs); font-weight: 600; margin: 0; }
.tool--dark .err { color: #ffb4a8; }
.grid-2 { display: grid; gap: 0 1.25rem; }
@media (min-width: 620px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.result { border-top: 1px solid var(--rule); margin-top: 1rem; padding-top: 1.2rem; }
.tool--dark .result { border-color: var(--on-dark-line); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin: 0 0 1rem; }
.stats div { border-left: 2px solid var(--on-dark-line); padding: .2rem .8rem; }
.stats dt { font-size: var(--t-xs); color: var(--on-dark-muted); }
.stats dd { margin: .2rem 0 0; font: 700 clamp(1.15rem, 3.5vw, 1.6rem)/1.1 var(--mono); color: var(--white); }
.stats .save dd { color: var(--due-on-dark); }
@media (max-width: 479px) { .stats { grid-template-columns: 1fr; } .stats div { display: flex; justify-content: space-between; align-items: baseline; } }
.detail { font-size: var(--t-sm); line-height: 1.6; }
.tool--dark .detail { color: var(--on-dark); }
.tool--dark a { color: var(--white); }
.disclaimer { font-size: var(--t-xs); line-height: 1.55; color: var(--slate); border-top: 1px solid var(--rule); padding-top: .9rem; margin-top: 1.2rem; max-width: 760px; }
.emailme { display: flex; flex-wrap: wrap; gap: .6rem; align-items: flex-end; margin-top: 1rem; }
.emailme .field { flex: 1 1 220px; margin: 0; }
.ok { color: var(--green); font-weight: 600; font-size: var(--t-sm); margin: .6rem 0 0; }
.tool--dark .ok { color: #9fe0bd; }

/* range sliders */
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 32px; background: transparent; margin: 0; padding: 0; border: 0; min-height: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; background: var(--rule-strong); border-radius: 2px; }
input[type="range"]::-moz-range-track { height: 4px; background: var(--rule-strong); border-radius: 2px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--white); border: 3px solid var(--green); margin-top: -10px; }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 3px solid var(--green); }
.range-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.range-head output { font: 700 var(--t-lg) var(--mono); color: var(--forest); }
.range-ends { display: flex; justify-content: space-between; font-size: var(--t-xs); color: var(--slate); }
.addons { border: 0; padding: 0; margin: 0 0 1.2rem; }
.addons legend { font-weight: 600; font-size: var(--t-sm); margin-bottom: .5rem; padding: 0; }
.addons__list { display: flex; flex-wrap: wrap; gap: .5rem; }
.chk { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .4rem .8rem; border: 1px solid var(--rule-strong); border-radius: var(--radius); cursor: pointer; font-size: var(--t-sm); }
.chk input { width: 18px; height: 18px; accent-color: var(--green); }
.chk:has(input:checked) { border-color: var(--green); background: var(--mist); }
.estimate { background: var(--forest); color: var(--on-dark); border-radius: var(--radius); padding: 1.2rem 1.4rem; }
.estimate__h { font-size: var(--t-xs); color: var(--on-dark-muted); margin: 0 0 .2rem; }
.estimate__fig { font: 700 clamp(1.7rem, 5vw, 2.2rem)/1.15 var(--mono); color: var(--due-on-dark); margin: 0; }
.estimate__tier { font-size: var(--t-sm); color: var(--on-dark-muted); margin: .25rem 0 0; }
.estimate .field label { color: var(--white); }
.estimate .actions { margin-top: 1rem; }

/* quiz */
.step { border: 0; padding: 0; margin: 0 0 1.2rem; }
.step legend { font: 700 var(--t-lg)/1.3 var(--serif); color: var(--forest); margin-bottom: .8rem; padding: 0; }
.step__n { display: block; font: 600 var(--t-xs) var(--mono); color: var(--due); margin-bottom: .35rem; }
.opt { display: flex; align-items: center; gap: .75rem; min-height: 48px; padding: .6rem .9rem; border: 1px solid var(--rule-strong); border-radius: var(--radius); margin-bottom: .5rem; cursor: pointer; }
.opt:hover { border-color: var(--green); }
.opt:has(input:checked) { border-color: var(--green); background: var(--mist); }
.opt input { width: 18px; height: 18px; accent-color: var(--green); flex: none; }
.js .quiz .step:not(.is-current) { display: none; }
.quiz__bar { height: 4px; background: var(--mist); border-radius: 2px; margin-bottom: 1.2rem; overflow: hidden; }
.quiz__bar span { display: block; height: 100%; background: var(--green); width: 0; transition: width .3s; }
.quiz__nav { display: flex; gap: .75rem; flex-wrap: wrap; }
.quiz__result h2 { margin-bottom: .3rem; }
.quiz__result .kicker { font-size: var(--t-sm); color: var(--slate); margin: 0 0 .2rem; }

/* checklist tool */
.cl-group { border: 0; padding: 0; margin: 0 0 1.2rem; }
.cl-group legend { font: 700 var(--t-md) var(--serif); color: var(--forest); padding: 0; margin-bottom: .4rem; }
.cl-item { display: flex; align-items: flex-start; gap: .75rem; padding: .55rem 0; border-bottom: 1px solid var(--rule); cursor: pointer; min-height: 44px; }
.cl-item input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--green); flex: none; }
.cl-item:has(input:checked) span { color: var(--slate); text-decoration: line-through; text-decoration-color: var(--rule-strong); }
.progress { position: sticky; bottom: 0; background: var(--white); border-top: 1px solid var(--rule); padding: .8rem 0; margin-top: 1rem; }
.progress__text { display: flex; justify-content: space-between; font-size: var(--t-sm); font-weight: 600; color: var(--forest); margin-bottom: .4rem; }
.progress__text .fig { font-weight: 600; }
.progress__bar { height: 6px; background: var(--mist); border-radius: 3px; overflow: hidden; }
.progress__fill { display: block; height: 100%; width: 0; background: var(--green); transition: width .2s; }

/* entity table */
.table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius); }
.table-wrap:focus-visible { outline-offset: 0; }
table.compare { border-collapse: collapse; width: 100%; min-width: 720px; font-size: var(--t-sm); }
.compare caption { text-align: left; padding: .8rem 1rem; font-size: var(--t-xs); color: var(--slate); caption-side: bottom; }
.compare th, .compare td { padding: .7rem .9rem; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.compare thead th { background: var(--forest); color: var(--white); font-weight: 600; position: sticky; top: 0; }
.compare thead th.hl { background: var(--green); }
.compare tbody th { font-weight: 600; color: var(--forest); width: 22%; background: var(--mist); }
.compare td.hl { background: #f4f8f5; }
.yes { color: var(--green); font-weight: 700; } .no { color: #8a2a1c; font-weight: 700; }
.meter { display: inline-block; vertical-align: middle; width: 48px; height: 6px; background: var(--rule); border-radius: 3px; overflow: hidden; margin-right: .3rem; }
.meter__fill { display: block; height: 100%; background: var(--green); }
.meter__fill--1 { width: 25%; } .meter__fill--2 { width: 50%; } .meter__fill--3 { width: 75%; } .meter__fill--4 { width: 100%; }

/* deadlines */
.cal-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; border: 0; padding: 0; }
.cal-filters legend { font-weight: 600; font-size: var(--t-sm); margin-bottom: .5rem; padding: 0; }
.cal-filters button { min-height: 40px; padding: .4rem .9rem; border-radius: 2px; border: 1px solid var(--green); background: var(--white); color: var(--green); font: 600 var(--t-sm) var(--sans); cursor: pointer; }
.cal-filters button[aria-pressed="true"] { background: var(--green); color: var(--white); }
.dues { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--forest); }
.due { display: grid; grid-template-columns: 4.8rem minmax(0, 1fr) auto; gap: .2rem 1rem; align-items: baseline; padding: .8rem 0; border-bottom: 1px solid var(--rule); }
.due__date { font: 600 var(--t-md) var(--mono); color: var(--forest); }
.due--urgent .due__date { color: var(--due); }
.due__label { display: block; font-weight: 600; color: var(--forest); }
.due__detail { display: block; font-size: var(--t-sm); color: var(--slate); }
.due__type { font-size: .75rem; font-weight: 600; color: var(--slate); border: 1px solid var(--rule-strong); border-radius: 2px; padding: .1rem .4rem; white-space: nowrap; }
.due__when { display: block; font: 400 var(--t-xs) var(--mono); color: var(--slate); margin-top: .15rem; }
.due.is-next { background: linear-gradient(90deg, rgb(168 84 26 / .08), transparent 70%); box-shadow: inset 3px 0 0 var(--due); padding-left: .75rem; }
.due.is-next .due__when { color: var(--due); font-weight: 700; }
.today-rule { list-style: none; position: relative; height: 0; border-top: 2px dashed var(--due); margin: -1px 0 0; }
.today-rule span { position: absolute; right: 0; top: -.85rem; background: var(--white); color: var(--due); font: 600 .75rem var(--mono); padding: 0 .4rem; }
@media (max-width: 599px) { .due { grid-template-columns: 4.2rem minmax(0, 1fr); } .due__type { grid-column: 2; justify-self: start; } }
.due[hidden] { display: none; }

/* testimonials */
.quotes { display: grid; gap: 1.5rem 3rem; }
@media (min-width: 860px) { .quotes { grid-template-columns: 1fr 1fr; } }
.quote { margin: 0; border-top: 2px solid var(--forest); padding-top: 1rem; }
.quote blockquote { margin: 0 0 .8rem; font: 400 italic var(--t-md)/1.65 var(--sans); }
.quote figcaption { font-size: var(--t-sm); }
.quote figcaption strong { color: var(--forest); }
.quote .disc { display: block; font-size: var(--t-xs); color: var(--slate); margin-top: .5rem; padding-top: .5rem; border-top: 1px solid var(--rule); }
.quotes-note { font-size: var(--t-xs); color: var(--slate); font-style: italic; margin-top: 1.5rem; max-width: var(--measure); }

/* people */
.people { display: grid; gap: 2rem 3rem; }
@media (min-width: 860px) { .people { grid-template-columns: 1fr 1fr; } }
.person { border-top: 2px solid var(--forest); padding-top: 1.2rem; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 0 1.1rem; }
.avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--mist); border: 1px solid var(--rule-strong); display: grid; place-items: center; font: 700 1.3rem var(--serif); color: var(--forest); }
.person h3 { margin-bottom: .1rem; }
.person__role { font-size: var(--t-sm); color: var(--slate); margin-bottom: .8rem; }
.person__body { grid-column: 1 / -1; margin-top: .8rem; }
.person__links { display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: var(--t-sm); font-weight: 600; }
.ph-note { font-size: .75rem; color: var(--slate); grid-column: 1 / -1; margin: .4rem 0 0; }

/* resources + FAQ */
.reslist { list-style: none; margin: 0; padding: 0; }
.reslist li { padding: 1rem 0; border-bottom: 1px solid var(--rule); display: grid; gap: .2rem; }
.reslist li:first-child { border-top: 1px solid var(--rule); }
.reslist .cat { font-size: var(--t-xs); color: var(--slate); }
.reslist a { font: 700 var(--t-lg)/1.3 var(--serif); }
.reslist p { margin: 0; color: var(--slate); font-size: var(--t-sm); max-width: var(--measure); }
.faq { max-width: 820px; }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__item:first-child { border-top: 1px solid var(--rule); }
.faq__item summary { cursor: pointer; list-style: none; padding: 1rem 2.5rem 1rem 0; position: relative; font-weight: 600; color: var(--forest); min-height: 48px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: .25rem; top: .85rem; font: 400 1.4rem/1 var(--mono); color: var(--green); }
.faq__item[open] summary::after { content: "−"; }
.faq__a { padding: 0 0 1.2rem; max-width: var(--measure); }

/* contact */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 4rem; } }
.dl { margin: 0 0 1.5rem; }
.dl div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--rule); }
.dl dt { font-weight: 600; color: var(--forest); font-size: var(--t-sm); }
.dl dd { margin: 0; }
.schedule { background: var(--mist); border-left: 3px solid var(--green); padding: 1.3rem 1.4rem; margin-bottom: 2rem; }
.schedule h2 { font-size: var(--t-xl); margin-bottom: .3rem; }
.form-status { margin-top: .8rem; font-weight: 600; }
.form-status--ok { color: var(--green); }
.form-status--err { color: #b3261e; }
.req { color: #b3261e; }

/* tool hub */
.toollist { list-style: none; padding: 0; margin: 0; }
.toollist li { border-top: 1px solid var(--rule); }
.toollist li:last-child { border-bottom: 1px solid var(--rule); }
.toollist a { display: grid; grid-template-columns: minmax(0, 1fr); padding: 1.1rem 0; text-decoration: none; color: var(--ink); }
.toollist a:hover strong { text-decoration: underline; }
.toollist strong { font: 700 var(--t-lg)/1.3 var(--serif); color: var(--forest); }
.toollist span { color: var(--slate); font-size: var(--t-sm); max-width: var(--measure); }

/* bands */
.cta-band { background: var(--forest-2); color: var(--on-dark); padding: clamp(2rem, 5vw, 3rem) 0; }
.cta-band__inner { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: minmax(0, 1fr) auto; } }
.cta-band__title { color: var(--white); font-size: var(--t-xl); margin-bottom: .3rem; }
.cta-band__text { color: var(--on-dark-muted); margin: 0; }
.cta-band__phone { color: var(--white); font: 600 var(--t-md) var(--mono); }
.band--dark { background: var(--forest); color: var(--on-dark); }
.band--dark h2 { color: var(--white); }

/* footer */
.site-footer { background: var(--forest); border-top: 1px solid var(--on-dark-line); color: var(--on-dark); padding: 3rem 0 2rem; font-size: var(--t-sm); }
.site-footer a { color: var(--white); }
.site-footer__grid { display: grid; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--on-dark-line); }
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer__logo img { width: 193px; height: 48px; margin-bottom: 1rem; }
.site-footer__brand p { color: var(--on-dark-muted); }
.site-footer__h { font: 600 var(--t-sm) var(--sans); color: var(--white); margin: 0 0 .6rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: .3rem 0; }
.site-footer li a { color: var(--on-dark); text-decoration: none; display: inline-block; padding: .2rem 0; }
.site-footer li a:hover { text-decoration: underline; color: var(--white); }
.site-footer__legal { padding-top: 1.5rem; color: var(--on-dark-muted); font-size: var(--t-xs); line-height: 1.6; }
.site-footer__legal strong { color: var(--on-dark); }
.site-footer__docs { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: var(--t-sm); font-weight: 600; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--on-dark-line); margin-top: 1rem; }

/* tap targets in running text and lists */
@media (pointer: coarse) { .site-footer li a, .crumbs a { min-height: 32px; display: inline-flex; align-items: center; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .cta-band, .site-footer__grid, .menu-btn { display: none !important; } .tool--dark, .estimate, .nextdue { background: #fff; color: #000; border: 1px solid #000; } }
.h3 { font-size: var(--t-lg); }
@media (max-width: 599px) { .hero__sub { font-size: 1.125rem; } .lead { font-size: 1.125rem; } }
.hero .facts { margin-top: 2rem; }
/* refinement pass 2 */
.page-head + .sec { padding-top: clamp(1.6rem, 4vw, 2.6rem); }
.compare tbody th, .compare thead th:first-child { position: sticky; left: 0; z-index: 1; }
.compare thead th:first-child { z-index: 2; }
.compare tbody th { box-shadow: 1px 0 0 var(--rule); }
.swipe-hint { display: none; font-size: var(--t-xs); color: var(--slate); margin: 0 0 .5rem; }
@media (max-width: 759px) { .swipe-hint { display: block; } table.compare { min-width: 640px; } .compare tbody th { width: 120px; min-width: 120px; max-width: 120px; font-size: var(--t-xs); } }
/* floating quote prompt + once-per-visit modal (same behaviour as shermanfp.com) */
.float-cta { position: fixed; z-index: 40; right: max(20px, env(safe-area-inset-right, 0px)); bottom: max(20px, env(safe-area-inset-bottom, 0px));
  display: grid; grid-template-columns: auto auto; align-items: center; gap: .5rem 1.25rem; max-width: 470px; padding: 1rem 2.75rem 1rem 1.25rem;
  background: var(--forest); color: var(--on-dark); border-top: 3px solid var(--due-on-dark); border-radius: var(--radius); box-shadow: 0 10px 30px rgb(10 30 20 / .3);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.float-cta.is-in { opacity: 1; transform: none; pointer-events: auto; }
.float-cta__title { font: 700 var(--t-lg)/1.2 var(--serif); margin: 0; color: var(--white); }
.float-cta__sub { font-size: var(--t-xs); color: var(--on-dark-muted); margin: .2rem 0 0; }
.float-cta__btn { white-space: nowrap; }
.float-cta__close { position: absolute; top: .35rem; right: .35rem; width: 32px; height: 32px; display: grid; place-items: center; background: transparent; border: 0; border-radius: var(--radius); color: var(--on-dark-muted); font: 400 1.4rem/1 var(--sans); cursor: pointer; }
.float-cta__close:hover { color: var(--white); background: rgb(255 255 255 / .08); }
.float-cta :focus-visible, .book-modal :focus-visible { outline-color: var(--due-on-dark); }
@media (max-width: 560px) {
  .float-cta { left: 0; right: 0; bottom: 0; max-width: none; border-radius: 0; grid-template-columns: minmax(0, 1fr) auto; gap: .25rem .75rem; padding: .75rem 2.75rem calc(.75rem + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
  .float-cta__sub { display: none; } .float-cta__title { font-size: 1.0625rem; }
}
.book-modal { width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; margin: auto; padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  border: 0; border-top: 4px solid var(--due-on-dark); border-radius: var(--radius); background: var(--forest); color: var(--on-dark); box-shadow: 0 24px 60px rgb(0 0 0 / .35);
  opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .2s ease, transform .2s ease; }
.book-modal.is-in { opacity: 1; transform: none; }
.book-modal::backdrop { background: rgb(16 38 29 / .65); backdrop-filter: blur(2px); }
.book-modal__kicker { font: 600 var(--t-sm)/1.4 var(--mono); color: var(--due-on-dark); margin: 0 2.5rem .5rem 0; }
.book-modal__title { color: var(--white); font-size: var(--t-2xl); }
.book-modal__text { margin: .9rem 0 0; color: var(--on-dark-muted); }
.book-modal__actions { margin: 1.5rem 0 0; } .book-modal__actions .btn { width: 100%; }
.book-modal__alt { margin: 1rem 0 0; font-size: var(--t-sm); color: var(--on-dark-muted); text-align: center; }
.book-modal a:not(.btn) { color: var(--white); }
.book-modal__close { position: absolute; top: .6rem; right: .6rem; width: 44px; height: 44px; display: grid; place-items: center; background: transparent; border: 1px solid transparent; border-radius: var(--radius); color: var(--white); font: 400 1.75rem/1 var(--sans); cursor: pointer; }
.book-modal__close:hover { border-color: rgb(255 255 255 / .35); }
@media print { .float-cta, .book-modal { display: none !important; } }
/* click-to-load calendar on Contact */
.cal-embed { border: 1px solid var(--rule-strong); border-top: 3px solid var(--green); border-radius: var(--radius); background: var(--white); margin-bottom: 2rem; }
.cal-embed__gate { padding: clamp(1.1rem, 3vw, 1.6rem); display: grid; gap: .8rem; }
.cal-embed__gate p { margin: 0; }
.cal-embed__frame { display: block; width: 100%; height: 760px; border: 0; }
@media (max-width: 700px) { .cal-embed__frame { height: 1000px; } }
.svc-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 0 2.5rem; }
@media (min-width: 820px) { .svc-list { grid-template-columns: 1fr 1fr; } }
.svc-list li { border-top: 1px solid var(--rule); padding: .9rem 0; break-inside: avoid; }
.svc-list h3 { font-size: var(--t-md); margin-bottom: .25rem; }
.svc-list p { font-size: var(--t-sm); color: var(--slate); margin: 0; }
/* insights */
.draft-bar { background: #fff4d6; color: var(--ink); border-bottom: 1px solid #e3c766; padding: .6rem 16px; text-align: center; font-size: var(--t-sm); margin: 0; }
.article__meta { font: 400 var(--t-sm) var(--mono); color: var(--slate); margin: -.2rem 0 .8rem; }
.article__body h2 { font-size: var(--t-xl); margin: 2rem 0 .6rem; }
.article__body h3 { margin: 1.5rem 0 .4rem; }
.article__body ol { padding-left: 1.3em; } .article__body ol li { margin-bottom: .4rem; }
.article__body .table-wrap { margin: 1rem 0 1.5rem; }
.compare--plain { min-width: 0; } .compare--plain td { white-space: normal; }
.article__foot { border-top: 1px solid var(--rule); padding-top: 1.2rem; margin-top: 1rem; }
table.compare.compare--plain { min-width: 0; } .compare--plain th[scope="row"] { white-space: nowrap; width: auto; max-width: none; min-width: 0; font-size: var(--t-xs); }
.ics { background: var(--mist); border-left: 3px solid var(--green); padding: 1.2rem 1.4rem; margin-bottom: 1.8rem; max-width: 820px; }
.ics h2 { margin-bottom: .3rem; } .ics p { max-width: var(--measure); } .ics .actions { margin: .8rem 0; }

/* spam trap: off-screen, never shown to people or screen readers */
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
