:root {
  color-scheme: light;
  --paper: #f6f7f0;
  --white: #fffefa;
  --ink: #15362f;
  --muted: #505f55;
  --line: #d5dfcd;
  --moss: #3f631f;
  --forest: #173c2e;
  --light: #e9efdf;
  font-family: Inter, 'Segoe UI', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
img { max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #2d6a55; outline-offset: 4px; }
[tabindex="-1"]:focus { outline: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.035em; }
h1 { margin-bottom: .8rem; font-size: clamp(2.1rem, 5vw, 4.2rem); line-height: 1.06; }
h2 { margin-bottom: .55rem; font-size: clamp(1.4rem, 2.7vw, 2.1rem); line-height: 1.17; }
h3 { margin-bottom: .45rem; font-size: 1.15rem; line-height: 1.22; }
p { margin-bottom: 1rem; line-height: 1.55; }
.container { width: min(100% - 3rem, 1130px); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 2; padding: .65rem 1rem; border-radius: .55rem; background: var(--white); }

.site-header { border-bottom: 1px solid var(--line); }
.header-row, .mode-row, .footer-row { display: flex; align-items: center; gap: 1.35rem; }
.header-row { min-height: 77px; }
.brand { display: inline-flex; flex: none; align-items: center; gap: .4rem; font-size: 1.42rem; font-weight: 850; letter-spacing: -.06em; color: #034737; text-decoration: none; }
.brand-accent { color: #326123; }
.brand-mark { position: relative; display: block; width: 40px; aspect-ratio: 1.1; overflow: hidden; border-radius: 7px; mix-blend-mode: multiply; }
.brand-mark img { position: absolute; width: 360%; height: auto; max-width: none; left: -19%; top: -32%; }
.main-nav { display: flex; align-self: stretch; align-items: center; gap: .7rem; }
.nav-item { position: relative; min-height: 44px; padding: .4rem .5rem; border: 0; border-radius: .35rem; background: transparent; color: var(--muted); font-size: .9rem; }
.nav-item:hover, .nav-item[aria-current="page"] { color: var(--ink); background: #eef0e7; }
.nav-item[aria-current="page"] { font-weight: 700; }
.nav-item[aria-current="page"]::after { content: ''; position: absolute; bottom: 3px; left: .55rem; width: 18px; height: 2px; border-radius: 2px; background: #678a4c; }
.reset { margin-left: auto; }
.mode-bar { background: #eaf0e3; border-bottom: 1px solid var(--line); }
.mode-row { justify-content: space-between; min-height: 63px; padding-block: .5rem; }
.mode-row p { margin: 0; }
.mode-row p strong { margin-right: .65rem; }
.mode-row p span { color: var(--muted); }
.role-switch { display: inline-flex; flex: none; gap: .2rem; padding: .22rem; border-radius: .53rem; background: #dce7cf; }
.role-switch button { min-height: 44px; padding: .4rem .85rem; border: 0; border-radius: .4rem; background: transparent; color: var(--ink); font-size: .9rem; }
.role-switch button[aria-pressed="true"] { color: white; background: var(--forest); font-weight: 650; }

main { min-height: 60vh; padding-block: clamp(1.8rem, 5.7vw, 4rem) 4rem; }
.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: clamp(1.4rem, 5vw, 4rem); }
.hero-copy p { max-width: 55ch; color: var(--muted); font-size: 1.04rem; }
.hero-copy .button { margin-top: .25rem; }
.hero-preview { display: grid; min-height: 285px; align-items: center; padding: clamp(1.2rem, 4vw, 2.5rem); border: 1px solid #d8e1c9; border-radius: 1.55rem; background: radial-gradient(ellipse at 80% 12%, #ecedce, transparent 62%), linear-gradient(155deg, #eaf0df, #dce7cf); }
.hero-card { padding: 1.25rem; border: 1px solid #d6dfcd; border-radius: 1.1rem; background: var(--white); box-shadow: 0 14px 30px #37563114; }
.hero-card-header, .provider-title { display: flex; align-items: center; gap: .85rem; }
.hero-card-header h2 { font-size: clamp(1.2rem, 2.25vw, 1.55rem); margin: .25rem 0 0; }
.text-label { margin: 0 0 .28rem; color: var(--muted); font-size: .81rem; font-weight: 650; line-height: 1.35; }
.preview-steps { display: grid; gap: .64rem; margin: 1.15rem 0 0; padding: .9rem 0 0; list-style: none; border-top: 1px solid var(--line); }
.preview-steps li { display: flex; align-items: center; gap: .65rem; color: var(--muted); font-size: .92rem; }
.check-dot, .open-dot { flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; }
.check-dot { background: #e0edcb; color: var(--moss); font-weight: 750; }
.open-dot { width: 22px; height: 22px; margin: 1px; border: 1px solid #95a18d; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .65rem .95rem; border: 1px solid transparent; border-radius: .55rem; font-size: .91rem; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; }
.button-primary { background: var(--forest); color: white; }
.button-primary:hover { background: #24563f; }
.button-secondary { background: var(--white); border-color: #c9d5c1; color: var(--ink); }
.button-secondary:hover, .button-quiet:hover { background: #e8efdf; }
.button-quiet { padding-inline: .65rem; color: var(--ink); background: transparent; }

.catalog { margin-top: clamp(2.6rem, 6vw, 4.8rem); scroll-margin-top: 1.2rem; }
.catalog-controls { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.15rem; }
.catalog-controls p, .section-heading p { margin-bottom: 0; color: var(--muted); }
.catalog-controls label { display: grid; gap: .35rem; color: var(--ink); font-size: .88rem; font-weight: 650; }
.catalog-controls input { width: min(285px, 100%); min-height: 46px; padding: .55rem .8rem; border: 1px solid #bccab4; border-radius: .55rem; color: var(--ink); background: var(--white); font-size: .97rem; }
.catalog-controls input::placeholder { color: #657366; }
.services-grid, .providers-grid, .quotes-grid { display: grid; gap: 1rem; }
.services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.providers-grid, .quotes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-card, .provider-card, .panel, .quote-card { min-width: 0; border: 1px solid var(--line); border-radius: .85rem; background: var(--white); }
.service-card, .quote-card { display: flex; flex-direction: column; align-items: flex-start; padding: 1.15rem; }
.service-card p:not(.text-label), .quote-card p:not(.quote-price) { color: var(--muted); }
.service-card .button, .quote-card .button { margin-top: auto; }
.service-icon { display: block; flex: none; padding: .38rem; border-radius: .66rem; object-fit: contain; }
.service-card > .service-icon { margin-bottom: .8rem; }
.tone-blue { background: #e3edf0; }
.tone-green { background: #e5eed7; }
.tone-peach { background: #f5e8db; }
.tone-lilac { background: #eae7f0; }
.empty-results { grid-column: 1 / -1; padding: 1.3rem; border: 1px dashed #bec9b5; border-radius: .75rem; }

.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 136px; padding: clamp(1.2rem, 3vw, 2.1rem); border: 1px solid var(--line); border-radius: .92rem; }
.section-heading h1 { margin: .25rem 0 .5rem; font-size: clamp(2rem, 4.15vw, 3.2rem); }
main > .button-quiet { margin-bottom: .6rem; }
.section-heading > img { width: 84px; height: 72px; }
.spaced { margin-top: 1.45rem; }
.spaced > h2 { margin-bottom: 1rem; }
.provider-card { overflow: hidden; }
.provider-title, .provider-info { padding: 1.1rem; }
.provider-title h3 { margin: 0; }
.provider-title .service-icon { background: #ffffff82; }
.provider-info p { color: var(--muted); }
.provider-info strong { color: var(--ink); }
.panel { padding: clamp(1.05rem, 2.6vw, 1.65rem); }
.panel p:not(.text-label, .quote-price) { color: var(--muted); }
.details-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1.2rem; margin: 0 0 1.15rem; }
.details-list dt { margin-bottom: .3rem; font-size: .85rem; color: var(--muted); }
.details-list dd { margin: 0; font-size: 1rem; font-weight: 650; }
.scope { padding-top: .9rem; border-top: 1px solid var(--line); }
.scope strong { color: var(--ink); }
.job-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(235px, 1fr); gap: 1rem; align-items: start; margin-top: 1.2rem; }
.job-panels { display: grid; gap: 1rem; }
.timeline h2, .job-details h2 { margin-bottom: 1rem; font-size: 1.22rem; }
.timeline ol { display: grid; gap: .62rem; margin: 0; padding: 0; list-style: none; }
.timeline li { display: flex; align-items: center; gap: .6rem; min-height: 32px; font-size: .93rem; }
.step-marker { display: grid; flex: none; width: 25px; height: 25px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); font-size: .78rem; }
.step-past .step-marker { color: var(--moss); background: #e4eed8; }
.step-current { font-weight: 750; }
.step-current .step-marker { border-color: var(--forest); color: white; background: var(--forest); }
.step-next { color: var(--muted); }
.quote-price { margin: 0 0 .7rem; color: var(--forest); font-weight: 750; font-size: 1.38rem; }
.evidence-card { display: flex; align-items: center; gap: 1rem; margin: 1rem 0; padding: 1rem; border-radius: .75rem; }
.evidence-card .service-icon { width: 95px; height: 76px; background: #ffffff8c; }
.evidence-card figcaption { color: var(--ink); line-height: 1.45; }
.evidence-list { padding-left: 1.1rem; color: var(--muted); line-height: 1.6; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.final-check { width: 38px; height: 38px; margin-bottom: .75rem; font-size: 1.37rem; }
.site-footer { border-top: 1px solid var(--line); background: #eff2e9; }
.footer-row { justify-content: space-between; padding-block: 1.5rem; }
.footer-row p { margin: .25rem 0 0; color: var(--muted); font-size: .91rem; }

@media (max-width: 780px) {
  .container { width: calc(100% - 2rem); }
  .hero { grid-template-columns: 1fr; }
  .hero-preview { min-height: 0; }
  .hero-copy h1 { max-width: 18ch; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575px) {
  .header-row { flex-wrap: wrap; gap: .22rem .5rem; padding-block: .65rem .3rem; }
  .main-nav { order: 3; width: 100%; }
  .mode-row { flex-wrap: wrap; gap: .35rem .75rem; }
  .mode-row p { font-size: .91rem; }
  .mode-row p strong, .mode-row p span { display: block; }
  .catalog-controls { align-items: stretch; flex-direction: column; }
  .catalog-controls input { width: 100%; }
  .providers-grid, .job-layout { grid-template-columns: 1fr; }
  .section-heading > img { width: 62px; height: 52px; }
  .footer-row { align-items: flex-start; flex-wrap: wrap; gap: .75rem; }
}

@media (max-width: 380px) {
  .services-grid, .quotes-grid { grid-template-columns: 1fr; }
  .service-card .button { width: 100%; }
}
