.providers-page {
  --provider-ink: #222222;
  --provider-muted: #686868;
  --provider-line: #dddddd;
  --provider-soft: #f7f7f7;
  --provider-accent: #ef5b38;
  --provider-action: #bd563c;
  --provider-green: #245f50;
  margin: 0;
  color: var(--provider-ink);
  background: #ffffff;
}

.providers-page main { overflow: visible; }
.providers-page h1,
.providers-page h2,
.providers-page h3,
.providers-page p { margin-top: 0; }

.providers-header {
  width: min(1180px, calc(100% - 64px));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--provider-line);
}
.providers-header nav a {
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.providers-hero {
  width: min(960px, calc(100% - 64px));
  margin: 0 auto;
  padding: 82px 0 96px;
}
.providers-hero-copy { max-width: 790px; }
.providers-hero h1 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 7vw, 88px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.055em;
}
.providers-hero-copy > p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--provider-muted);
  font-size: 19px;
  line-height: 1.5;
}

.business-search {
  margin-top: 42px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--provider-line);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(34, 34, 34, .07);
}
.business-search > label,
.guide-form label {
  display: block;
  margin-bottom: 9px;
  font-size: 12px;
  font-weight: 800;
}
.business-search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}
.business-search input,
.guide-form input {
  min-width: 0;
  height: 56px;
  padding: 0 17px;
  color: var(--provider-ink);
  background: #ffffff;
  border: 1px solid #bcbcbc;
  border-radius: 12px;
  outline: none;
}
.business-search input:focus,
.guide-form input:focus {
  border-color: var(--provider-accent);
  box-shadow: 0 0 0 3px rgba(239, 91, 56, .18);
}
.business-search button,
.guide-form button {
  min-height: 56px;
  padding: 0 22px;
  color: #ffffff;
  background: var(--provider-action);
  border: 1px solid var(--provider-action);
  border-radius: 12px;
  cursor: pointer;
  font-weight: 800;
}
.business-search button:hover,
.guide-form button:hover { background: #9f432f; }
.search-note {
  margin: 18px 0 0;
  color: var(--provider-muted);
  font-size: 12px;
  line-height: 1.45;
}
.search-hint {
  margin: 12px 0 0;
  color: var(--provider-muted);
  font-size: 12px;
}
.search-hint:empty { display: none; }
.business-results:empty { display: none; }
.business-results {
  margin-top: 16px;
  padding-top: 6px;
  display: grid;
  gap: 9px;
  border-top: 1px solid var(--provider-line);
}
.business-match,
.business-none {
  padding: 14px 4px 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.business-match + .business-match { border-top: 1px solid #eeeeee; }
.business-match h3,
.business-none h3 { margin-bottom: 3px; font-size: 15px; }
.business-match p,
.business-none p { margin-bottom: 0; color: var(--provider-muted); font-size: 12px; }
.business-match a,
.business-none a {
  flex: 0 0 auto;
  padding: 9px 13px;
  color: var(--provider-ink);
  border: 1px solid var(--provider-ink);
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}
.business-claimed {
  flex: 0 0 auto;
  color: var(--provider-muted);
  font-size: 12px;
}
.business-claimed a { margin-left: 7px; padding: 0; border: 0; text-decoration: underline; }

.section-shell {
  width: min(1080px, calc(100% - 64px));
  margin: 0 auto;
  padding: 104px 0;
}
.section-heading { max-width: 760px; }
.providers-page h2 {
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -.045em;
}
.section-heading > p:last-child,
.guide-copy > p,
.provider-project-section p,
.fairness-copy p {
  color: var(--provider-muted);
  font-size: 16px;
  line-height: 1.6;
}

.profile-value { border-top: 1px solid var(--provider-line); }
.profile-comparison {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.profile-stage { min-width: 0; }
.profile-stage .profile-state { min-height: 28px; margin: 0 2px 12px; }
.profile-stage .provider-card { height: auto; }
.profile-stage .provider-card:hover { transform: none; box-shadow: 0 1px 3px rgba(34, 34, 34, .04); }
.profile-stage .provider-actions span {
  color: var(--page-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 12px;
  font-weight: 700;
}
.profile-stage .provider-actions .provider-website { color: var(--page-muted); }
.profile-stage .profile-definition {
  min-height: 68px;
  margin: 14px 2px 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  font-size: 12px;
  line-height: 1.5;
}
.profile-example {
  min-width: 0;
  padding: 15px;
  background: #ffffff;
  border: 1px solid var(--provider-line);
  border-radius: 18px;
}
.profile-example-claimed { border-color: rgba(239, 91, 56, .48); }
.profile-example-complete {
  border-color: rgba(36, 95, 80, .42);
  box-shadow: 0 8px 24px rgba(34, 34, 34, .07);
}
.profile-state {
  margin-bottom: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
}
.profile-state span {
  padding: 5px 8px;
  color: var(--provider-muted);
  background: #eeeeee;
  border-radius: 999px;
  font-weight: 800;
}
.profile-state small { color: var(--provider-muted); font-size: 10px; }
.profile-example-claimed .profile-state span { color: #91412e; background: #fff0eb; }
.profile-example-complete .profile-state span { color: var(--provider-green); background: #e9f3ef; }
.profile-image {
  aspect-ratio: 1.72 / 1;
  margin-bottom: 15px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
}
.profile-image-empty {
  color: #a4a4a4;
  background: #eeeeee;
  font-family: "Tektur", sans-serif;
  font-size: 26px;
  font-weight: 900;
}
.profile-image-claimed {
  color: #91412e;
  background: #fff0eb;
  font-family: "Tektur", sans-serif;
  font-size: 26px;
  font-weight: 900;
}
.profile-image-complete {
  color: #ffffff;
  background: var(--provider-green);
}
.profile-image-complete img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 68% 50%; }
.profile-example h3 { margin-bottom: 5px; font-size: 17px; line-height: 1.3; }
.profile-location { margin-bottom: 10px; color: var(--provider-muted); font-size: 12px; }
.profile-description { min-height: 58px; margin-bottom: 12px; font-size: 13px; line-height: 1.45; }
.profile-tags {
  min-height: 52px;
  display: flex;
  align-content: flex-start;
  flex-wrap: wrap;
  gap: 6px;
}
.profile-tags span {
  padding: 6px 8px;
  color: var(--provider-muted);
  background: var(--provider-soft);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}
.profile-card-footer {
  margin-top: 12px;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--provider-muted);
  border-top: 1px solid var(--provider-line);
  font-size: 10px;
  font-weight: 700;
}
.profile-card-footer span:last-child { color: var(--provider-ink); }
.profile-card-footer a { color: var(--provider-ink); text-decoration: none; }
.profile-card-footer-ready span:last-child { color: var(--provider-green); }
.profile-card-footer-ready a { color: var(--provider-green); }
.profile-definition {
  margin: 16px -15px -15px;
  padding: 14px 15px 15px;
  color: var(--provider-muted);
  background: var(--provider-soft);
  border-radius: 0 0 17px 17px;
  font-size: 11px;
  line-height: 1.45;
}
.text-cta {
  margin-top: 24px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--provider-ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.fairness-section {
  color: #ffffff;
  background: var(--provider-green);
}
.fairness-inner { padding-top: 86px; padding-bottom: 86px; }
.fairness-section h2 { max-width: 770px; }
.fairness-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
}
.fairness-copy p { margin-bottom: 0; color: rgba(255, 255, 255, .76); }
.fairness-copy a { color: #ffffff; }

.founder-bridge {
  max-width: 870px;
  padding-top: 82px;
  padding-bottom: 82px;
  text-align: center;
  border-bottom: 1px solid var(--provider-line);
}
.founder-bridge h2 { font-size: clamp(36px, 4.5vw, 58px); }
.founder-bridge > p {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  color: var(--provider-muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.65;
}

.guide-section {
  border-top: 1px solid var(--provider-line);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(350px, .92fr);
  grid-template-areas:
    "visual copy"
    "visual form";
  column-gap: clamp(48px, 7vw, 88px);
  row-gap: 28px;
  align-items: start;
}
.guide-visual {
  grid-area: visual;
  align-self: center;
  margin: 0;
}
.guide-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(34, 34, 34, .13);
}
.guide-copy {
  grid-area: copy;
  padding-top: 18px;
}
.guide-standfirst { color: var(--provider-ink) !important; font-size: 20px !important; }
.guide-form {
  grid-area: form;
  padding: 26px;
  background: var(--provider-soft);
  border: 1px solid var(--provider-line);
  border-radius: 18px;
}
.guide-form input,
.guide-form button { width: 100%; }
.guide-form button { margin-top: 10px; }
.guide-form button:disabled { cursor: wait; opacity: .62; }
.guide-honeypot {
  width: 1px;
  height: 1px;
  position: absolute;
  left: -10000px;
  overflow: hidden;
}
.guide-form > p {
  margin: 12px 0 0;
  color: var(--provider-muted);
  font-size: 11px;
  line-height: 1.5;
}
.guide-form .guide-status {
  padding: 10px;
  color: var(--provider-green);
  background: #e4f0ec;
  border-radius: 8px;
}
.guide-status a { color: inherit; font-weight: 800; text-underline-offset: 2px; }

.provider-project-section {
  padding-top: 76px;
  padding-bottom: 76px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 70px;
  align-items: end;
  border-top: 1px solid var(--provider-line);
}
.provider-project-section > div { max-width: 760px; }
.provider-project-section h2 { font-size: clamp(36px, 4vw, 56px); }
.ranking-note { margin-bottom: 0; font-size: 12px !important; }
.provider-project-cta {
  padding: 14px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  background: var(--provider-action);
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 800;
}

.providers-footer {
  padding: 40px max(32px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 30px;
  align-items: center;
  color: #ffffff;
  background: var(--provider-ink);
}
.providers-footer p { margin: 0; color: #b7b7b7; text-align: center; font-size: 12px; }
.providers-footer-links { justify-self: end; display: flex; gap: 16px; }
.providers-footer-links a { color: #ffffff; font-size: 12px; }

@media (max-width: 800px) {
  .providers-header,
  .providers-hero,
  .section-shell { width: calc(100% - 36px); }
  .providers-hero { padding: 56px 0 72px; }
  .providers-hero h1 { font-size: clamp(48px, 15vw, 70px); }
  .business-search-row,
  .profile-comparison,
  .fairness-copy,
  .guide-section,
  .provider-project-section { grid-template-columns: 1fr; }
  .business-search button { width: 100%; }
  .business-match,
  .business-none { align-items: flex-start; flex-direction: column; }
  .section-shell { padding: 72px 0; }
  .profile-comparison { gap: 16px; }
  .guide-section,
  .provider-project-section { gap: 34px; }
  .guide-section {
    grid-template-areas:
      "visual"
      "copy"
      "form";
  }
  .guide-visual { width: min(100%, 520px); margin: 0 auto; }
  .guide-copy { padding-top: 8px; }
  .provider-project-section { align-items: start; }
  .provider-project-cta { justify-self: start; white-space: normal; }
  .providers-footer { grid-template-columns: 1fr; text-align: center; }
  .providers-footer-links { justify-self: center; }
}
