:root {
  --font-sans: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --color-ink: #16201d;
  --color-muted: #5b6762;
  --color-bg: #f7f5ef;
  --color-surface: #ffffff;
  --color-line: #dde5df;
  --color-green: #0f6b45;
  --color-blue: #135dff;
  --color-orange: #b35312;
  --color-teal: #007c89;
  --color-dark: #0f1715;
  --color-success-bg: #eaf7ef;
  --color-warning-bg: #fff7ed;
  --color-blue-bg: #eef4ff;
  --radius: 8px;
  --shadow: 0 18px 45px rgba(15, 23, 21, 0.08);
  --shadow-tight: 0 8px 22px rgba(15, 23, 21, 0.08);
  --content: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--color-ink);
  background: var(--color-bg);
  font-family: var(--font-sans);
  font-size: 16px;
}

body {
  margin: 0;
  line-height: 1.55;
}

.theme-default {
  background: var(--color-bg);
  color: var(--color-ink);
}

.theme-dark {
  background: var(--color-dark);
  color: #fff;
}

.theme-data {
  background: #f1fbfb;
  color: var(--color-ink);
}

.theme-data .card-icon {
  color: var(--color-teal);
}

.theme-warning {
  background: var(--color-warning-bg);
  border-left: 4px solid var(--color-orange);
  color: var(--color-ink);
}

a {
  color: var(--color-blue);
}

a:hover {
  text-decoration-thickness: 2px;
}

.skip-link {
  left: 16px;
  padding: 10px 14px;
  position: absolute;
  top: -100px;
  z-index: 10;
  background: var(--color-dark);
  color: #fff;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  background: rgba(247, 245, 239, 0.95);
  border-bottom: 1px solid var(--color-line);
  position: sticky;
  top: 0;
  z-index: 5;
}

.nav {
  align-items: center;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--content);
  padding: 16px 20px;
}

.brand {
  align-items: center;
  color: var(--color-ink);
  display: inline-flex;
  text-decoration: none;
}

.brand-logo {
  display: block;
  height: 40px;
  max-width: 100%;
  width: 208px;
}

.nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.nav-links a {
  color: var(--color-ink);
  font-weight: 700;
  text-decoration: none;
}

.button,
button {
  align-items: center;
  background: var(--color-blue);
  border: 0;
  border-radius: var(--radius);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  font: inherit;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  text-decoration: none;
}

.button:hover,
button:hover {
  filter: brightness(0.94);
}

.button.secondary {
  background: var(--color-dark);
}

.button.ghost {
  background: transparent;
  border: 1px solid var(--color-line);
  color: var(--color-ink);
}

.icon {
  flex: 0 0 auto;
  height: 20px;
  width: 20px;
}

.button:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid var(--color-orange);
  outline-offset: 3px;
}

.container {
  margin: 0 auto;
  max-width: var(--content);
  padding: 0 20px;
}

.hero {
  padding: 64px 0 42px;
}

.hero-grid {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
}

.eyebrow {
  color: var(--color-green);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.1;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(2.15rem, 5vw, 4.6rem);
  max-width: 850px;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.25rem;
}

.lede {
  color: var(--color-muted);
  font-size: 1.16rem;
  margin: 0 0 24px;
  max-width: 720px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.promise-list {
  color: var(--color-muted);
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 18px 0 0;
  max-width: 720px;
  padding: 0;
}

.promise-list li {
  align-items: center;
  display: flex;
  gap: 9px;
}

.promise-list li::before {
  background: var(--color-green);
  border-radius: 50%;
  content: "";
  flex: 0 0 auto;
  height: 8px;
  width: 8px;
}

.panel {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.guide-diagram {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  display: block;
  height: auto;
  margin: 18px 0;
  max-width: 100%;
}

.guide-hero-aside {
  display: grid;
  gap: 18px;
}

.guide-hero-image {
  aspect-ratio: 16 / 9;
  background: #f8fbf9;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.stats {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
}

.stat {
  border-left: 3px solid var(--color-green);
  padding-left: 12px;
}

.stat strong {
  display: block;
  font-size: 1.35rem;
}

.section {
  padding: 38px 0;
}

.grid-3 {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-tight);
  padding: 22px;
}

.hub-card-thumb {
  aspect-ratio: 16 / 9;
  background: #f8fbf9;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  display: block;
  height: auto;
  margin: 0 0 16px;
  object-fit: cover;
  width: 100%;
}

.card-icon {
  color: var(--color-green);
  display: block;
  height: 28px;
  margin-bottom: 14px;
  width: 28px;
}

.card p:last-child,
.panel p:last-child {
  margin-bottom: 0;
}

.breadcrumb {
  color: var(--color-muted);
  font-size: 0.9rem;
  padding-top: 20px;
}

.breadcrumb a {
  color: var(--color-muted);
}

.form-grid {
  display: grid;
  gap: 14px;
}

.calculator-fieldset {
  border: 0;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.calculator-fieldset + .calculator-fieldset {
  border-top: 1px solid var(--color-line);
  padding-top: 16px;
}

.calculator-fieldset legend {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.field label {
  display: block;
  font-weight: 800;
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  background: #fff;
  border: 1px solid #cbd6d0;
  border-radius: var(--radius);
  color: var(--color-ink);
  font: inherit;
  min-height: 48px;
  padding: 11px 12px;
  width: 100%;
}

.field small {
  color: var(--color-muted);
  display: block;
  margin-top: 4px;
}

.input-affix {
  align-items: center;
  background: #fff;
  border: 1px solid #cbd6d0;
  border-radius: var(--radius);
  display: flex;
  min-height: 48px;
  overflow: hidden;
}

.input-affix span {
  color: var(--color-muted);
  flex: 0 0 auto;
  font-weight: 800;
  padding: 0 12px;
}

.input-affix input {
  border: 0;
  min-height: 46px;
}

.input-affix:focus-within {
  box-shadow: 0 0 0 3px rgba(31, 95, 255, 0.16);
}

.label-text {
  display: block;
  font-weight: 800;
  margin-bottom: 8px;
}

.honeypot {
  left: -9999px;
  position: absolute;
}

.quote-form fieldset {
  border: 0;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.quote-form fieldset[hidden] {
  display: none;
}

.quote-form legend {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.quote-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.quote-progress span {
  align-items: center;
  background: #eef3f0;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  color: var(--color-muted);
  display: inline-flex;
  font-weight: 800;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.quote-progress span.active {
  background: var(--color-blue);
  border-color: var(--color-blue);
  color: #fff;
}

.quote-progress span.complete {
  background: var(--color-green);
  border-color: var(--color-green);
  color: #fff;
}

.choice-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, 1fr);
}

.choice-grid label,
.consent {
  align-items: flex-start;
  background: #fff;
  border: 1px solid #cbd6d0;
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  gap: 10px;
  padding: 11px 12px;
}

.choice-grid input,
.consent input {
  flex: 0 0 auto;
  margin-top: 4px;
}

.choice-grid input[type="checkbox"],
.filter-stack input[type="checkbox"],
.consent input[type="checkbox"] {
  accent-color: var(--color-blue);
  height: 18px;
  min-height: 0;
  padding: 0;
  width: 18px;
}

.choice-grid label span,
.filter-stack label span,
.consent span {
  flex: 1 1 auto;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.form-actions.split {
  justify-content: space-between;
}

.field-error {
  color: #9b2c0f;
  font-weight: 800;
}

.has-error input,
.has-error select,
.has-error textarea,
.has-error.consent {
  border-color: var(--color-orange);
}

.form-status {
  border-radius: var(--radius);
  display: none;
  padding: 14px 16px;
}

.form-status strong,
.form-status span {
  display: block;
}

.form-status.success,
.form-status.error,
.form-status.pending {
  display: block;
}

.form-status.success {
  background: var(--color-success-bg);
  border: 1px solid #badbc7;
}

.form-status.error {
  background: var(--color-warning-bg);
  border: 1px solid #e1b17d;
}

.form-status.pending {
  background: var(--color-blue-bg);
  border: 1px solid #b9ccff;
}

.score-card {
  background: var(--color-blue-bg);
  border: 1px solid #b9ccff;
  border-radius: var(--radius);
  margin: 16px 0;
  padding: 16px;
}

.score-card span,
.admin-table td span {
  color: var(--color-muted);
  display: block;
  font-size: 0.92rem;
}

.score-card strong {
  display: block;
  font-size: 1.45rem;
}

.price-stack {
  display: grid;
  gap: 10px;
}

.price-stack div {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 12px;
}

.price-stack span,
.price-stack small {
  color: var(--color-muted);
  display: block;
}

.price-stack span {
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.price-stack strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.1;
  margin: 3px 0 4px;
}

.price-stack small {
  font-weight: 700;
}

.badge {
  background: var(--color-success-bg);
  border: 1px solid #badbc7;
  border-radius: 999px;
  color: var(--color-green) !important;
  display: inline-block !important;
  font-weight: 800;
  padding: 4px 9px;
  text-transform: capitalize;
}

.badge.neutral {
  background: #eef3f0;
  border-color: var(--color-line);
  color: var(--color-ink) !important;
  text-transform: none;
}

.badge.warning,
.badge.ready_with_warnings {
  background: var(--color-warning-bg);
  border-color: #e5c08f;
  color: var(--color-orange) !important;
}

.badge.fail,
.badge.not_ready {
  background: #fff1f0;
  border-color: #efb8b4;
  color: #a83228 !important;
}

.badge.pass,
.badge.ready {
  background: var(--color-success-bg);
  border-color: #badbc7;
  color: var(--color-green) !important;
}

button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.directory-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 1fr);
}

.directory-filters {
  position: sticky;
  top: 96px;
}

.directory-filters form,
.filter-stack,
.vendor-list {
  display: grid;
  gap: 12px;
}

.filter-stack label {
  align-items: flex-start;
  background: #fff;
  border: 1px solid #cbd6d0;
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  gap: 10px;
  padding: 9px 10px;
}

.filter-stack input {
  flex: 0 0 auto;
  margin-top: 4px;
}

.directory-results {
  min-width: 0;
}

.directory-results-head {
  align-items: end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.directory-count,
.source-note {
  color: var(--color-muted);
  font-weight: 800;
  margin: 0;
}

.disclosure-strip {
  background: var(--color-blue-bg);
  border: 1px solid #b9ccff;
  border-radius: var(--radius);
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  padding: 12px 14px;
}

.vendor-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-tight);
  display: grid;
  gap: 14px;
  padding: 20px;
}

.vendor-card[hidden],
.no-results[hidden] {
  display: none;
}

.vendor-card-head {
  align-items: start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.vendor-card-head h3 {
  margin-bottom: 4px;
}

.vendor-card-head p {
  color: var(--color-muted);
  margin: 0;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list span {
  background: #eef3f0;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  color: var(--color-ink);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 5px 9px;
}

.tag-list.expanded span {
  background: #fff;
}

.vendor-facts {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
}

.vendor-facts.vertical {
  grid-template-columns: 1fr;
}

.vendor-facts div {
  border-top: 1px solid var(--color-line);
  padding-top: 10px;
}

.vendor-facts dt {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.vendor-facts dd {
  margin: 4px 0 0;
}

.location-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 16px;
}

.location-grid.compact {
  grid-template-columns: repeat(3, 1fr);
}

.location-grid a {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  color: var(--color-ink);
  display: block;
  font-weight: 800;
  padding: 12px;
  text-decoration: none;
}

.location-grid span {
  color: var(--color-muted);
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-top: 2px;
}

.directory-trust-panel .checklist {
  margin-bottom: 14px;
}

.related-list {
  display: grid;
  gap: 10px;
}

.related-list a {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  color: var(--color-ink);
  display: block;
  padding: 13px 14px;
  text-decoration: none;
}

.related-list strong,
.related-list span {
  display: block;
}

.related-list span {
  color: var(--color-muted);
  margin-top: 3px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  color: var(--color-muted);
  margin-bottom: 0;
}

.result {
  background: var(--color-success-bg);
  border: 1px solid #badbc7;
  border-radius: var(--radius);
  margin-top: 18px;
  min-width: 0;
  padding: 18px;
}

.result strong {
  font-size: 1.4rem;
}

.calculator-panel {
  position: sticky;
  top: 96px;
}

.calculator-intro {
  border-bottom: 1px solid var(--color-line);
  display: grid;
  gap: 6px;
  padding-bottom: 16px;
}

.calculator-intro h2 {
  font-size: 1.45rem;
  margin-bottom: 0;
}

.calculator-intro p:last-child {
  color: var(--color-muted);
  margin: 0;
}

.roi-result-panel {
  align-self: start;
  position: sticky;
  top: 96px;
}

.roi-summary {
  display: grid;
  gap: 12px;
}

.roi-summary-status,
.roi-summary-total,
.roi-summary-metrics div,
.roi-disclaimer {
  border-radius: var(--radius);
}

.roi-summary-status {
  border: 1px solid var(--color-line);
  padding: 14px;
}

.roi-summary-status.positive {
  background: var(--color-success-bg);
  border-color: #badbc7;
}

.roi-summary-status.caution {
  background: var(--color-warning-bg);
  border-color: #e1b17d;
}

.roi-summary-status.risk {
  background: #fff1ec;
  border-color: #e1a38d;
}

.roi-summary-status span,
.roi-summary-total span,
.roi-summary-metrics span,
.roi-live-note {
  color: var(--color-muted);
  display: block;
  font-size: 0.86rem;
  font-weight: 800;
}

.roi-summary-status span,
.roi-summary-total span,
.roi-summary-metrics span {
  text-transform: uppercase;
}

.roi-summary-status strong,
.roi-summary-total strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1.12;
  margin-top: 3px;
}

.roi-summary-status p {
  color: var(--color-muted);
  margin: 8px 0 0;
}

.roi-summary-total {
  background: var(--color-dark);
  color: #fff;
  padding: 16px;
}

.roi-summary-total span,
.roi-summary-total small {
  color: #d9e6df;
}

.roi-summary-total strong {
  font-size: clamp(2rem, 4vw, 3rem);
}

.roi-summary-total small {
  display: block;
  font-weight: 700;
  margin-top: 4px;
}

.roi-summary-metrics {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.roi-summary-metrics div {
  background: #fff;
  border: 1px solid var(--color-line);
  min-width: 0;
  padding: 12px;
}

.roi-summary-metrics strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.18;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.roi-live-note {
  background: var(--color-blue-bg);
  border: 1px solid #b9ccff;
  border-radius: var(--radius);
  margin: 0;
  padding: 10px 12px;
  text-transform: none;
}

.roi-disclaimer {
  background: #f8fbf9;
  border: 1px solid var(--color-line);
  color: var(--color-muted);
  display: grid;
  gap: 4px;
  margin-top: 14px;
  padding: 12px;
}

.roi-disclaimer strong {
  color: var(--color-ink);
}

.result-actions.compact {
  justify-content: stretch;
  margin-top: 14px;
}

.result-actions.compact .button {
  flex: 1 1 160px;
}

.roi-result-panel.is-updated,
.calculator-output.is-updated {
  animation: roi-update-flash 700ms ease;
}

@keyframes roi-update-flash {
  0% {
    box-shadow: 0 0 0 0 rgba(19, 93, 255, 0.26), var(--shadow);
  }

  45% {
    box-shadow: 0 0 0 6px rgba(19, 93, 255, 0.14), var(--shadow);
  }

  100% {
    box-shadow: var(--shadow);
  }
}

.calculator-output {
  margin-top: 0;
}

.print-only {
  display: none !important;
}

.estimate-report {
  display: grid;
  gap: 18px;
  max-width: 100%;
  min-width: 0;
}

.estimate-report > * {
  min-width: 0;
}

.result-head {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.result-head strong {
  display: block;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.1;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.report-section h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.report-section {
  min-width: 0;
}

.report-card-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
}

.report-card {
  background: #fff;
  border: 1px solid #badbc7;
  border-radius: var(--radius);
  padding: 12px;
}

.report-card span {
  color: var(--color-muted);
  display: block;
  font-size: 0.84rem;
  font-weight: 800;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.report-card strong {
  display: block;
  font-size: 1rem;
}

.report-note {
  background: #fff;
  border-left: 4px solid var(--color-orange);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.report-note strong,
.report-note span {
  display: block;
}

.total-row td {
  background: #f1fbfb;
  font-weight: 800;
}

.metric-positive {
  color: var(--color-green);
  font-weight: 800;
}

.metric-negative {
  color: #9b2c0f;
  font-weight: 800;
}

.result-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  margin: 20px 0;
}

.result-grid div {
  background: #fff;
  border: 1px solid #badbc7;
  border-radius: var(--radius);
  padding: 14px;
}

.result-grid span,
.component-table td span,
.source-list span {
  color: var(--color-muted);
  display: block;
  font-size: 0.92rem;
}

.table-wrap {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid var(--color-line);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

th {
  background: #eef3f0;
}

.notice {
  background: var(--color-warning-bg);
  border-left: 4px solid var(--color-orange);
  padding: 16px;
}

.cookie-consent-bar {
  align-items: center;
  background: var(--color-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  bottom: 0;
  box-shadow: 0 -12px 28px rgba(15, 23, 21, 0.18);
  color: #fff;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  left: 0;
  padding: 16px max(18px, calc((100vw - var(--content)) / 2));
  position: fixed;
  right: 0;
  z-index: 30;
}

.cookie-consent-copy {
  max-width: 680px;
}

.cookie-consent-copy strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 3px;
}

.cookie-consent-copy p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

.cookie-consent-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.cookie-consent-actions a {
  color: #fff;
  font-weight: 800;
}

.cookie-consent-actions .button {
  min-height: 40px;
  white-space: nowrap;
}

.legal-nav {
  border-top: 1px solid rgba(20, 28, 36, 0.15);
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.25rem;
  margin-top: 1.25rem;
  padding-top: 1.05rem;
}

.legal-nav a {
  color: var(--color-forest);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.legal-nav a.is-active {
  color: var(--color-ink);
  text-decoration-thickness: 0.16em;
}

.checklist,
.source-list {
  padding-left: 20px;
}

.checklist li,
.source-list li {
  margin-bottom: 10px;
}

.site-footer {
  background: var(--color-dark);
  color: #e9f0ed;
  margin-top: 48px;
  padding: 34px 0;
}

.site-footer a {
  color: #fff;
}

.footer-logo {
  display: block;
  height: 40px;
  margin-bottom: 10px;
  max-width: 100%;
  width: 208px;
}

.footer-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}

@media (max-width: 820px) {
  .hero-grid,
  .grid-2,
  .grid-3,
  .footer-grid,
  .stats,
  .result-grid,
  .report-card-grid,
  .choice-grid,
  .directory-layout,
  .vendor-facts,
  .location-grid,
  .location-grid.compact {
    grid-template-columns: 1fr;
  }

  .calculator-panel,
  .roi-result-panel,
  .directory-filters {
    position: static;
  }

  .roi-result-panel {
    order: -1;
  }

  .roi-summary-metrics {
    grid-template-columns: 1fr;
  }

  .result-head {
    align-items: stretch;
    flex-direction: column;
  }

  .result-head > div,
  .result-grid > div,
  .report-card {
    min-width: 0;
  }

  .result strong,
  .report-card strong {
    overflow-wrap: anywhere;
  }

  .result-actions {
    justify-content: stretch;
  }

  .result-actions .button,
  .result-actions button,
  .form-actions .button,
  .form-actions button {
    width: 100%;
  }

  .form-actions,
  .form-actions.split {
    justify-content: stretch;
  }

  .cookie-consent-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-consent-actions {
    justify-content: stretch;
  }

  .cookie-consent-actions .button,
  .cookie-consent-actions a {
    text-align: center;
    width: 100%;
  }

  .directory-results-head,
  .disclosure-strip,
  .vendor-card-head {
    align-items: stretch;
    flex-direction: column;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 36px;
  }

  .table-wrap table {
    min-width: 560px;
  }
}

@page {
  margin: 0.35in;
  size: Letter;
}

@media print {
  html {
    background: #fff;
    font-size: 10pt;
  }

  body {
    background: #fff;
    color: #111;
    font-family: Arial, sans-serif;
    line-height: 1.32;
    margin: 0;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .estimate-report {
    background: #fff;
    border: 1pt solid #d8e1dc;
    border-radius: 0.08in;
    box-sizing: border-box;
    color: #111;
    display: block;
    padding: 0.24in;
    width: 100%;
  }

  .print-only {
    display: block !important;
  }

  .site-header,
  .site-footer,
  .breadcrumb,
  .hero,
  main > .section:not(.calculator-result-section) {
    display: none !important;
  }

  main,
  .calculator-result-section,
  .calculator-result-section .container {
    display: block;
    margin: 0;
    max-width: none;
    padding: 0;
    width: 100%;
  }

  .report-header.print-only {
    align-items: start;
    border-bottom: 2pt solid #0f6b45;
    display: grid !important;
    gap: 0.16in;
    grid-template-columns: 2.05in 1fr 1.55in;
    margin-bottom: 0.18in;
    padding-bottom: 0.14in;
  }

  .report-logo {
    display: block;
    height: auto;
    max-width: 2.05in;
    width: 2.05in;
  }

  .report-kicker {
    color: #0f6b45;
    font-size: 8pt;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 0.03in;
    text-transform: uppercase;
  }

  .report-header h2 {
    font-size: 22pt;
    line-height: 1;
    margin: 0 0 0.04in;
  }

  .report-header p {
    color: #4c5652;
    font-size: 9pt;
    margin: 0;
  }

  .report-meta {
    border-left: 1pt solid #cbd6d0;
    color: #4c5652;
    display: grid;
    font-size: 8pt;
    gap: 0.03in;
    padding-left: 0.12in;
    text-align: right;
  }

  .result-head {
    align-items: start;
    border: 1pt solid #badbc7;
    border-radius: 0.08in;
    display: block;
    margin: 0 0 0.12in;
    padding: 0.14in;
  }

  .result-head .eyebrow {
    color: #0f6b45;
    font-size: 8pt;
    margin-bottom: 0.04in;
  }

  .result-head strong {
    color: #0f1715;
    font-size: 28pt;
    line-height: 1;
  }

  .result-head p {
    margin: 0.04in 0 0;
  }

  .result-actions,
  .result-grid {
    display: none !important;
  }

  .report-total-strip.print-only {
    display: grid !important;
    gap: 0.1in;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 0.16in;
  }

  .report-total-strip div {
    border: 1pt solid #0f6b45;
    border-radius: 0.07in;
    padding: 0.09in;
  }

  .report-total-strip span,
  .report-card span {
    color: #4c5652;
    display: block;
    font-size: 7.5pt;
    font-weight: 800;
    margin-bottom: 0.04in;
    text-transform: uppercase;
  }

  .report-total-strip strong {
    display: block;
    font-size: 15pt;
    line-height: 1;
  }

  .report-section {
    break-inside: avoid;
    margin-top: 0.14in;
  }

  .report-section h3 {
    border-bottom: 1pt solid #cbd6d0;
    color: #0f1715;
    font-size: 11pt;
    margin: 0 0 0.08in;
    padding-bottom: 0.04in;
  }

  .report-card-grid {
    display: grid;
    gap: 0.07in;
    grid-template-columns: repeat(3, 1fr);
  }

  .report-card {
    background: #f8fbf9;
    border: 1pt solid #cbd6d0;
    border-radius: 0.05in;
    padding: 0.07in;
  }

  .report-card strong {
    font-size: 9pt;
    line-height: 1.2;
  }

  .report-note {
    background: #fff7ed;
    border: 1pt solid #e1b17d;
    border-left: 4pt solid #b35312;
    border-radius: 0.05in;
    margin: 0.14in 0;
    padding: 0.08in 0.1in;
  }

  .report-note strong {
    font-size: 9pt;
  }

  .report-note span {
    color: #4c5652;
    font-size: 8.3pt;
  }

  .table-wrap {
    overflow: visible;
  }

  table {
    border-collapse: collapse;
    font-size: 8.2pt;
    width: 100%;
  }

  th,
  td {
    border: 1pt solid #d8e1dc;
    padding: 0.055in;
  }

  th {
    background: #eaf1ed;
    color: #0f1715;
    font-size: 7.8pt;
    text-transform: uppercase;
  }

  td strong {
    font-size: 8.6pt;
  }

  .component-table td span {
    color: #4c5652;
    font-size: 7.1pt;
    line-height: 1.25;
  }

  tr {
    break-inside: avoid;
  }

  .total-row td {
    background: #eaf7ef;
    border-top: 2pt solid #0f6b45;
    font-weight: 800;
  }

  .result {
    background: #fff;
    border: 0;
    margin: 0;
    padding: 0;
  }

  .report-second-page.print-only {
    break-before: page;
    display: block !important;
    padding-top: 0.22in;
  }

  .report-second-page .report-section {
    margin-top: 0.18in;
  }

  .report-second-page .report-section:first-child {
    margin-top: 0;
  }

  .report-columns {
    display: grid !important;
    gap: 0.16in;
    grid-template-columns: 1fr 1fr;
  }

  .report-columns ul,
  .report-source-list {
    margin: 0;
    padding-left: 0.16in;
  }

  .report-columns li,
  .report-source-list li {
    font-size: 7.9pt;
    line-height: 1.35;
    margin-bottom: 0.055in;
  }

  .report-quote-readiness p {
    color: #4c5652;
    font-size: 8pt;
    line-height: 1.38;
    margin: 0 0 0.07in;
  }

  .report-source-list span {
    color: #4c5652;
    display: block;
    font-size: 7.2pt;
    line-height: 1.25;
  }

  .report-footer {
    border-top: 1pt solid #cbd6d0;
    color: #4c5652;
    display: flex !important;
    font-size: 7.6pt;
    justify-content: space-between;
    margin-top: 0.14in;
    padding-top: 0.08in;
  }
}
