:root {
  --ink: #1d2730;
  --muted: #64717d;
  --line: #dce3e8;
  --paper: #fbf8f2;
  --panel: #ffffff;
  --teal: #2f7d73;
  --teal-dark: #1f5d55;
  --coral: #da6a4b;
  --gold: #d8a62d;
  --blue: #3f6f9f;
  --shadow: 0 18px 50px rgba(31, 43, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  padding: 0 28px;
  border-bottom: 1px solid rgba(220, 227, 232, 0.82);
  background: rgba(251, 248, 242, 0.92);
  backdrop-filter: blur(14px);
}

.brand,
.topnav,
.hero-search,
.metrics-band,
.tabs,
.toggle-row {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--teal);
  color: white;
}

.topnav {
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.topnav a,
.nav-action,
.text-link {
  text-decoration: none;
}

.topnav a:hover,
.text-link:hover {
  color: var(--teal-dark);
}

.nav-action,
.hero-search button,
.provider-actions button,
.pricing-action,
.lead-form button,
.ops-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-weight: 800;
  text-decoration: none;
}

.nav-action {
  padding: 0 16px;
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #24313a;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(21, 31, 38, 0.84), rgba(21, 31, 38, 0.44) 48%, rgba(21, 31, 38, 0.08)),
    linear-gradient(0deg, rgba(21, 31, 38, 0.3), rgba(21, 31, 38, 0));
}

.hero-overlay {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  padding: 94px 0 70px;
  margin-left: clamp(20px, 6vw, 86px);
  color: white;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd58a;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 690px;
  font-size: 64px;
}

h2 {
  font-size: 34px;
}

h3 {
  font-size: 20px;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

.hero-search {
  flex-wrap: wrap;
  gap: 12px;
  max-width: 700px;
  margin-top: 34px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(16px);
}

.hero-search label {
  display: grid;
  flex: 1 1 190px;
  gap: 4px;
  min-width: 0;
}

.hero-search span,
.field span,
.segment-group legend {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.hero-search span {
  color: rgba(255, 255, 255, 0.7);
}

.hero-search select,
.hero-search button {
  width: 100%;
  min-height: 50px;
}

.hero-search select,
.field input,
.field select,
.field textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
}

.hero-search select {
  padding: 0 14px;
}

.hero-search button {
  flex: 1 1 170px;
  padding: 0 20px;
  background: var(--coral);
}

.metrics-band {
  justify-content: center;
  gap: 0;
  padding: 0 28px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.metrics-band article {
  width: min(25%, 280px);
  min-height: 110px;
  padding: 22px 28px;
  border-left: 1px solid var(--line);
}

.metrics-band article:last-child {
  border-right: 1px solid var(--line);
}

.metrics-band span {
  display: block;
  color: var(--teal-dark);
  font-size: 30px;
  font-weight: 900;
}

.metrics-band p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.workspace {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 24px;
  width: min(1440px, calc(100% - 40px));
  margin: 36px auto;
  align-items: start;
}

.filters {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 8px;
}

.field input,
.field select,
.field textarea {
  min-height: 44px;
  padding: 0 12px;
}

.field textarea {
  min-height: 92px;
  padding: 12px;
  resize: vertical;
}

.field input[type="range"] {
  padding: 0;
  accent-color: var(--teal);
}

.toggle-row {
  justify-content: space-between;
  gap: 14px;
  min-height: 42px;
  color: var(--ink);
  font-weight: 800;
}

.toggle-row input {
  width: 44px;
  height: 24px;
  accent-color: var(--teal);
}

.segment-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0;
  margin: 0;
  border: 0;
}

.segment-group legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}

.segment-group label {
  min-width: 0;
}

.segment-group input {
  position: absolute;
  opacity: 0;
}

.segment-group span {
  display: grid;
  min-height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf9;
  color: var(--muted);
  font-weight: 800;
}

.segment-group input:checked + span {
  border-color: var(--teal);
  background: #e4f2ef;
  color: var(--teal-dark);
}

.results {
  min-width: 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto 22px;
}

.section-heading.compact {
  width: auto;
  margin: 0 0 18px;
}

.section-heading > p,
#resultSummary {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.provider-card,
.guide-card,
.tool-cards article,
.pricing-grid article,
.estimate-panel,
.flywheel article,
.decision-grid article,
.trust-grid article,
.knowledge-system article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.provider-card {
  display: grid;
  gap: 14px;
  min-height: 330px;
  padding: 18px;
}

.provider-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.provider-type {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f2eadb;
  color: #7f5720;
  font-size: 12px;
  font-weight: 900;
}

.provider-card h3 {
  margin-top: 8px;
}

.provider-meta,
.provider-tags,
.provider-actions,
.revenue-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.provider-meta span,
.provider-tags span,
.revenue-list span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 8px;
  background: #eef4f8;
  color: #36566b;
  font-size: 12px;
  font-weight: 800;
}

.revenue-list span:nth-last-child(2) {
  background: #fff3d2;
  color: #89630c;
}

.provider-copy {
  margin: 0;
  color: var(--muted);
}

.provider-actions {
  align-self: end;
}

.provider-actions button {
  flex: 1 1 130px;
  padding: 0 12px;
  border: 0;
  font-size: 14px;
}

.provider-actions a {
  flex: 1 1 120px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.provider-actions button.secondary,
.provider-actions a.secondary,
.secondary-action {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}

.no-results {
  grid-column: 1 / -1;
  padding: 34px;
  border: 1px dashed #b8c3ca;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
}

.decision-band,
.revenue-router-band,
.conversion-band,
.tools-band,
.knowledge-band,
.trust-band,
.ecosystem-band,
.merchant-band {
  padding: 54px 0;
}

.tools-band,
.ecosystem-band,
.trust-band {
  background: #eef4f1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.conversion-band {
  background: var(--paper);
}

.intent-path-grid,
.decision-grid,
.route-grid,
.trust-grid,
.knowledge-system {
  display: grid;
  gap: 16px;
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
}

.intent-path-grid,
.decision-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.route-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.intent-path-grid article,
.decision-grid article,
.route-grid article,
.trust-grid article,
.knowledge-system article {
  display: grid;
  gap: 12px;
  min-height: 230px;
  padding: 20px;
}

.intent-path-grid span,
.decision-grid span,
.route-grid span {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  background: #eef4f8;
  color: #36566b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.intent-path-grid p,
.decision-grid p,
.route-grid p,
.trust-grid p,
.knowledge-system p {
  margin: 0;
  color: var(--muted);
}

.intent-path-grid article > div {
  align-self: end;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.intent-path-grid a,
.intent-path-grid button,
.decision-grid button,
.decision-grid a,
.route-grid button,
.directory-actions button {
  align-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-weight: 800;
  text-decoration: none;
}

.intent-path-grid a {
  background: var(--teal);
}

.intent-path-grid button {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
}

.directory-actions {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.directory-actions button {
  min-height: 38px;
  font-size: 13px;
}

.trust-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.knowledge-system {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

.knowledge-system article {
  min-height: 180px;
  background: #f7faf9;
}

.conversion-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
}

.lead-form,
.validation-panel {
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.lead-form button {
  width: 100%;
  border: 0;
  background: var(--teal);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
}

.validation-panel ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
}

.signal-stack {
  display: grid;
  gap: 8px;
}

.signal-stack span {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  background: #eef4f8;
  color: #36566b;
  font-size: 13px;
  font-weight: 900;
}

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

.ops-kpi {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px;
  border-radius: 8px;
  background: #f6f8f5;
}

.ops-kpi span,
.ops-insights h4,
.ops-opportunities h4,
.lead-inbox h4 {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ops-kpi strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.ops-kpi small {
  color: #5b6b72;
  font-size: 12px;
  font-weight: 800;
}

.ops-insights {
  display: grid;
  gap: 8px;
}

.ops-insights article {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 10px;
  align-items: flex-start;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.ops-insights div,
.ops-opportunities div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.ops-insights span,
.ops-opportunities span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: #eef4f8;
  color: #36566b;
  font-size: 12px;
  font-weight: 900;
}

.ops-insights span strong {
  margin-left: 4px;
  color: var(--ink);
}

.ops-opportunities {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  background: #fbfaf2;
}

.ops-opportunities p {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.lead-inbox {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf9;
}

.lead-inbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.lead-inbox-header span {
  color: #5b6b72;
  font-size: 12px;
  font-weight: 900;
}

.lead-inbox-list {
  display: grid;
  gap: 8px;
}

.lead-inbox-item {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-left: 3px solid #9fb6c4;
  border-radius: 8px;
  background: white;
}

.lead-inbox-item.is-hot {
  border-left-color: var(--gold);
  background: #fffdf6;
}

.lead-inbox-top {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: space-between;
}

.lead-type,
.lead-action {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.lead-type {
  background: #eef4f8;
  color: #36566b;
}

.lead-action {
  background: #e9f4ef;
  color: var(--teal-dark);
}

.lead-inbox-item h5 {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
}

.lead-inbox-item p,
.lead-inbox-item small,
.lead-inbox-empty {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.lead-inbox-empty {
  padding: 10px;
  border-radius: 8px;
  background: white;
}

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

.ops-actions button {
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  background: var(--teal);
  font-size: 13px;
}

.ops-actions button.secondary {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}

.tool-layout {
  display: grid;
  grid-template-columns: 320px 320px minmax(0, 1fr);
  gap: 18px;
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
}

.calculator,
.estimate-panel,
.tool-cards {
  min-width: 0;
}

.calculator {
  display: grid;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.estimate-panel {
  display: grid;
  gap: 18px;
  padding: 20px;
}

.estimate-panel h3 {
  font-size: 42px;
  color: var(--teal-dark);
}

.estimate-bars {
  display: grid;
  gap: 12px;
}

.bar-row {
  display: grid;
  gap: 6px;
}

.bar-row div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.bar-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6edf0;
}

.bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--coral);
}

.tool-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tool-cards article {
  min-height: 220px;
  padding: 18px;
}

.tool-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 8px;
  background: var(--blue);
  color: white;
  font-weight: 900;
}

.tool-cards p,
.guide-card p,
.flywheel p,
.pricing-grid p,
.merchant-copy p {
  color: var(--muted);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
}

.guide-card {
  display: grid;
  gap: 12px;
  min-height: 250px;
  padding: 18px;
}

.guide-topic {
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.guide-card a {
  align-self: end;
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: none;
}

.tabs {
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.tab {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--muted);
  font-weight: 900;
}

.tab.is-active {
  border-color: var(--teal);
  background: var(--teal);
  color: white;
}

.guide-hub-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-weight: 900;
  text-decoration: none;
}

.flywheel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
}

.flywheel article {
  position: relative;
  min-height: 230px;
  padding: 22px;
}

.flywheel span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 10px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: #fff3d2;
  color: #89630c;
  font-size: 12px;
  font-weight: 900;
}

.merchant-band {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: 34px;
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
}

.merchant-copy {
  align-self: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pricing-grid article {
  display: grid;
  gap: 14px;
  min-height: 300px;
  padding: 20px;
}

.pricing-grid h3 {
  font-size: 34px;
}

.plan-name {
  margin: 0;
  color: var(--coral);
  font-weight: 900;
  text-transform: uppercase;
}

.featured-plan {
  border-color: var(--teal);
  box-shadow: var(--shadow);
}

.pricing-action {
  align-self: end;
  width: 100%;
}

.featured-plan .pricing-action {
  background: var(--teal);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: none;
}

.guide-page,
.seo-page {
  padding-bottom: 64px;
}

.guide-hero,
.seo-hero {
  padding: 70px 0 46px;
  background: #eef4f1;
  border-bottom: 1px solid var(--line);
}

.guide-hero > *,
.seo-hero > * {
  width: min(920px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.guide-hero h1,
.seo-hero h1 {
  color: var(--ink);
}

.guide-hero p:last-child,
.seo-hero p:last-child {
  margin-top: 20px;
  color: var(--muted);
  font-size: 20px;
}

.guide-body,
.seo-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 34px auto 0;
  align-items: start;
}

.guide-article,
.guide-aside,
.seo-article,
.seo-aside {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.guide-article,
.seo-article {
  display: grid;
  gap: 0;
}

.guide-article section,
.seo-article section {
  padding: 28px;
  border-bottom: 1px solid var(--line);
}

.guide-article section:last-child,
.seo-article section:last-child {
  border-bottom: 0;
}

.guide-article p,
.guide-aside p,
.seo-article p,
.seo-aside p {
  color: var(--muted);
}

.guide-stat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 0;
}

.guide-stat-grid div {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf9;
}

.guide-stat-grid dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.guide-stat-grid dd {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.guide-action-list ol {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0;
  list-style: none;
  counter-reset: action;
}

.guide-action-list li {
  position: relative;
  min-height: 52px;
  padding: 14px 14px 14px 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf8f2;
  color: var(--muted);
  font-weight: 800;
}

.guide-action-list li::before {
  position: absolute;
  top: 13px;
  left: 14px;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 8px;
  background: var(--teal);
  color: white;
  counter-increment: action;
  content: counter(action);
  font-size: 12px;
  font-weight: 900;
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf9;
}

.faq-list summary {
  cursor: pointer;
  padding: 15px 16px;
  color: var(--ink);
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 16px 16px;
}

.guide-conversion-panel {
  background: #fbfaf2;
}

.guide-conversion-panel h2 {
  max-width: 760px;
}

.guide-conversion-panel p {
  max-width: 820px;
}

.guide-conversion-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.guide-conversion-actions .nav-action {
  min-width: 190px;
}

.guide-aside,
.seo-aside {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
  padding: 22px;
}

.article-toc,
.related-guide-list {
  display: grid;
  gap: 8px;
}

.article-toc a {
  display: flex;
  min-height: 34px;
  align-items: center;
  padding: 0 10px;
  border-radius: 8px;
  background: #eef4f8;
  color: #36566b;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.guide-aside .nav-action {
  width: 100%;
}

.seo-aside .nav-action {
  width: 100%;
}

.seo-provider-list,
.related-guide-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.seo-provider-list li,
.related-guide-list li {
  padding: 12px;
  border-radius: 8px;
  background: #f7faf9;
  color: var(--muted);
}

.seo-provider-list a,
.related-guide-list a,
.related-provider-list a {
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: none;
}

.related-guide-list span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.guide-hub-grid {
  display: grid;
  gap: 24px;
  margin-top: 18px;
}

.hub-intent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.hub-intent-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf9;
}

.hub-intent-card span {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 8px;
  background: #eef4f8;
  color: #36566b;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.hub-intent-card h3 {
  margin: 0;
  font-size: 18px;
}

.hub-intent-card p {
  margin: 0;
}

.hub-intent-card a {
  align-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--teal);
  color: white;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.guide-hub-section {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.guide-hub-section h2 {
  margin: 0;
  font-size: 22px;
}

.hub-link-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.hub-link-list.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-hub-section .hub-link-list {
  margin-top: 0;
}

.hub-link-list li {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf9;
}

.hub-link-list a {
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: none;
}

.hub-link-list span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.guide-hub-tags span strong {
  margin-left: auto;
  color: var(--ink);
}

.provider-page {
  padding-bottom: 64px;
}

.provider-hero {
  padding: 70px 0 46px;
  background: #eef4f1;
  border-bottom: 1px solid var(--line);
}

.provider-hero > * {
  width: min(920px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.provider-hero h1 {
  color: var(--ink);
}

.provider-hero p:last-of-type {
  margin-top: 20px;
  color: var(--muted);
  font-size: 20px;
}

.provider-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.provider-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 34px auto 0;
  align-items: start;
}

.provider-main {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.provider-detail-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.provider-fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.provider-fit-grid article {
  min-height: 116px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf9;
}

.provider-fit-grid h3 {
  font-size: 16px;
  line-height: 1.25;
}

.booking-checklist {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.booking-checklist li {
  position: relative;
  padding: 14px 14px 14px 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf8f2;
  color: var(--muted);
  font-weight: 800;
}

.booking-checklist li::before {
  position: absolute;
  top: 15px;
  left: 14px;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  content: "?";
  font-size: 12px;
  font-weight: 900;
}

.provider-facts {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
}

.provider-facts div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.provider-facts dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.provider-facts dd {
  margin: 0;
  font-weight: 800;
}

.compact-facts div {
  grid-template-columns: 150px minmax(0, 1fr);
}

.provider-comparison {
  overflow: hidden;
}

.compare-table {
  display: grid;
  min-width: 0;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.compare-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) minmax(100px, 0.8fr) minmax(120px, 0.8fr) minmax(130px, 1fr);
  gap: 12px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  background: white;
  color: var(--muted);
  font-size: 13px;
}

.compare-row:last-child {
  border-bottom: 0;
}

.compare-row span:first-child {
  color: var(--ink);
  font-weight: 900;
}

.compare-head {
  background: #eef4f1;
  color: var(--ink);
  font-weight: 900;
}

.compare-row.is-current {
  background: #fff9ea;
}

.provider-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
}

.sidebar-summary {
  display: grid;
  gap: 8px;
}

.sidebar-summary span {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  background: #eef4f8;
  color: #36566b;
  font-size: 13px;
  font-weight: 900;
}

.related-provider-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.related-provider-list li {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 8px;
  background: #f7faf9;
}

.related-provider-list span {
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1180px) {
  .provider-grid,
  .guide-grid,
  .tool-cards,
  .flywheel,
  .intent-path-grid,
  .decision-grid,
  .route-grid,
  .trust-grid,
  .knowledge-system,
  .pricing-grid,
  .conversion-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tool-layout,
  .merchant-band,
  .guide-body,
  .seo-body,
  .provider-body {
    grid-template-columns: 1fr;
  }

  .calculator,
  .estimate-panel {
    min-height: 0;
  }

  .guide-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 20px;
  }

  .topnav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .nav-action {
    display: none;
  }

  .hero {
    min-height: 660px;
  }

  .hero-overlay {
    padding-top: 58px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 28px;
  }

  .metrics-band,
  .section-heading,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .metrics-band {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
  }

  .metrics-band article,
  .metrics-band article:last-child {
    width: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workspace {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
  }

  .guide-aside,
  .seo-aside,
  .provider-sidebar {
    position: static;
  }
}

@media (max-width: 620px) {
  .provider-grid,
  .guide-grid,
  .tool-cards,
  .flywheel,
  .intent-path-grid,
  .decision-grid,
  .route-grid,
  .trust-grid,
  .knowledge-system,
  .pricing-grid,
  .conversion-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 720px;
  }

  .hero-overlay,
  .workspace,
  .section-heading,
  .tool-layout,
  .guide-grid,
  .intent-path-grid,
  .decision-grid,
  .route-grid,
  .trust-grid,
  .knowledge-system,
  .flywheel,
  .merchant-band,
  .conversion-grid,
  .seo-body,
  .provider-body,
  .provider-hero > * {
    width: calc(100% - 28px);
  }

  .provider-facts div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .provider-fit-grid,
  .compare-row,
  .guide-stat-grid {
    grid-template-columns: 1fr;
  }

  .hub-link-list,
  .hub-link-list.compact,
  .hub-intent-grid {
    grid-template-columns: 1fr;
  }

  .ops-kpis,
  .ops-insights article,
  .ops-actions {
    grid-template-columns: 1fr;
  }

  .hero-overlay {
    margin-left: 14px;
  }

  h1 {
    font-size: 36px;
  }

  .hero-copy {
    font-size: 17px;
  }

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