:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --ink: #0e1a2b;
  --ink-soft: #5f6368;
  --accent: #1a4f8b;
  --accent-soft: #e6eef8;
  --border: #dfe1e5;
  --radius: 10px;
  --shadow: 0 1px 6px rgba(32, 33, 36, 0.08);
}

/* ============== Google-style home ============== */
body.home {
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.top-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 22px;
  padding: 20px 28px;
}

.top-nav a {
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
}

.top-nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.top-nav-cta {
  background: var(--accent);
  color: white !important;
  padding: 8px 14px;
  border-radius: 6px;
}

.top-nav-cta:hover {
  background: #143f72;
  text-decoration: none !important;
}

.home-main {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 20px 40px;
}

.home-center {
  width: 100%;
  max-width: 600px;
  text-align: center;
}

.home-logo {
  font-size: 84px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--accent);
  margin: 0 0 8px;
  line-height: 1;
}

.home-tag {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0 0 36px;
}

.home-search {
  width: 100%;
  margin: 0 auto 24px;
}

.home-search input {
  width: 100%;
  padding: 14px 22px;
  font-size: 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  outline: none;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
  font-family: inherit;
}

.home-search input:hover {
  box-shadow: var(--shadow);
}

.home-search input:focus {
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.profession-filter {
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 14px auto 0;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  outline: none;
  font-family: inherit;
  cursor: pointer;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235f6368' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 36px;
  text-align-last: center;
}

.profession-filter:hover,
.profession-filter:focus {
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.home-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
  margin-bottom: 28px;
}

.home-btn {
  background: #f8f9fa;
  color: var(--ink);
  border: 1px solid #f8f9fa;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: all 0.15s ease;
}

.home-btn:hover {
  border-color: var(--border);
  box-shadow: var(--shadow);
  color: var(--ink);
}

/* "New search" button — hidden on home view, shown after a search */
.home-btn-ghost {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink-soft);
}

.home-btn-ghost:hover {
  background: #f8f9fa;
  color: var(--ink);
}

body.has-results .home-btn-ghost {
  display: inline-block;
}

.home-note {
  font-size: 12px;
  color: var(--ink-soft);
  margin: 0;
}

.home-example {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 10px 0 0;
}

.home-example a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.home-example a:hover {
  text-decoration: underline;
}

.home-tip {
  font-size: 13px;
  color: var(--ink-soft);
  background: #f8f9fa;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 16px;
  margin: 14px auto 0;
  max-width: 480px;
  line-height: 1.5;
}

.home-tip strong {
  color: var(--ink);
}

body.has-results .home-tip {
  display: none;
}

.topic-sub {
  display: block;
  font-size: 11.5px;
  font-weight: 400;
  color: var(--ink-soft);
  margin-top: 2px;
}

.home-results {
  margin-top: 28px;
  text-align: center;
}

.home-results:empty {
  display: none;
}

.results-heading {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 0 12px;
}

.results-heading strong {
  color: var(--ink);
}

.source-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 auto 14px;
  max-width: 520px;
}

.source-btn {
  background: #f8f9fa;
  color: var(--ink);
  border: 1px solid var(--border);
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.15s ease;
}

.source-btn:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--shadow);
}

.results-footnote {
  font-size: 12px;
  color: var(--ink-soft);
  margin: 14px auto 0;
  max-width: 480px;
  line-height: 1.55;
}

.results-footnote a {
  color: var(--accent);
  text-decoration: underline;
}

.results-status {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

.provider-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 auto 24px;
  max-width: 520px;
  text-align: left;
}

.provider-card {
  background: #f8f9fa;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
}

.provider-card h4 {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--accent);
}

/* Practice city — quiet gray subtitle under the name, aligned past the dot */
.provider-city {
  margin: -8px 0 10px;
  padding-left: 26px;
  font-size: 13px;
  color: var(--ink-soft);
}

.provider-card dl {
  margin: 0 0 10px;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 4px 12px;
  font-size: 13px;
}

.provider-card dt {
  color: var(--ink-soft);
  font-weight: 600;
  margin: 0;
}

.provider-card dd {
  margin: 0;
  color: var(--ink);
}

.card-cta {
  display: inline-block;
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  margin-top: 4px;
}

.card-cta:hover {
  text-decoration: underline;
}

.sources-panel {
  margin: 18px auto 0;
  max-width: 520px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.sources-title {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 10px;
  font-weight: 600;
  text-align: center;
}

.sources-note {
  font-size: 11.5px;
  color: var(--ink-soft);
  margin: 8px auto 0;
  max-width: 480px;
  line-height: 1.5;
  text-align: center;
}

.prefill-dot {
  color: #2e7d32;
  font-size: 10px;
  vertical-align: middle;
  margin-left: 4px;
}

/* Expandable topic sections inside provider cards */
.provider-summary {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 14px;
}

.findings-banner {
  border-radius: 8px;
  padding: 12px 14px;
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.5;
}

.findings-clean {
  background: #e8f5e9;
  border: 1px solid #c8e6c9;
  color: #1b5e20;
}

.findings-clean strong {
  color: #1b5e20;
}

/* Caution sub-banner inside a finding when the primary FL DOH PDF isn't linked
   yet (verification.status = press_only / pending). Signals to the reader that
   the summary is press-paraphrased, not verbatim from the official order. */
.verification-notice {
  background: #fff3cd;
  border: 1px solid #ffe082;
  border-left: 4px solid #f57c00;
  color: #3e2723;
  border-radius: 4px;
  padding: 8px 10px;
  margin: 0 0 12px;
  font-size: 12.5px;
  line-height: 1.45;
}

.verification-notice strong {
  color: #b71c1c;
}

/* Inside the red severe-banner, soften so the caution stays readable on red. */
.severe-banner .verification-notice {
  background: #fff8e1;
  border-color: #ffc107;
  border-left-color: #e65100;
}

/* Neutral/caution banner shown when no findings exist in our automated sources.
   Deliberately NOT green — absence of findings is not the same as a clean record. */
.findings-unverified {
  background: #fff8e1;
  border: 1px solid #ffe082;
  color: #5d4037;
}

.findings-unverified strong {
  color: #3e2723;
}

.findings-unverified .unverified-warning {
  margin: 8px 0 10px;
  padding: 8px 10px;
  background: #fff3cd;
  border-left: 3px solid #f57c00;
  border-radius: 4px;
}

.findings-unverified .unverified-label {
  margin: 10px 0 4px;
  font-weight: 600;
}

.findings-unverified .unverified-list {
  margin: 0 0 10px 18px;
  padding: 0;
}

.findings-unverified .unverified-list li {
  margin: 4px 0;
}

.findings-unverified .unverified-cta {
  margin: 10px 0 0;
  font-size: 13px;
}

.findings-unverified .unverified-cta a {
  color: #1565c0;
  font-weight: 600;
}

/* SEVERE banner — for patient death, license revocation, sexual misconduct */
.severe-banner {
  background: #c62828;
  border: 2px solid #c62828;
  border-radius: 10px;
  margin: 0 0 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(198, 40, 40, 0.18);
}

.severe-banner-header {
  background: #b71c1c;
  color: white;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  padding: 10px 16px;
  text-align: center;
}

.severe-banner-body {
  background: white;
  padding: 14px 16px;
}

.severe-banner-body p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
}

.severe-banner-body strong {
  color: var(--ink);
}

.severe-banner-body a {
  color: var(--accent);
  text-decoration: underline;
  font-size: 13px;
}

.severe-action-note {
  background: #fff8e1;
  border-left: 3px solid #ef6c00;
  padding: 10px 12px;
  margin: 10px 0 0 !important;
  border-radius: 4px;
  font-size: 13px;
  color: #6b3a00;
}

.severe-action-note strong {
  color: #4a2a00;
}

/* Provider card visual states */
.provider-card-flag {
  border: 1px solid #f5c2bd;
  border-left: 4px solid #ef6c00;
  background: #fff8f5;
}

.provider-card-severe {
  border: 2px solid #c62828;
  background: #fff5f5;
  box-shadow: 0 4px 16px rgba(198, 40, 40, 0.12);
}

.provider-card-severe h4 {
  color: #c62828;
}

/* Inline name pills */
.severe-pill {
  display: inline-block;
  background: #c62828;
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
  margin-right: 8px;
  vertical-align: middle;
}

.flag-pill {
  display: inline-block;
  background: #ef6c00;
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
  margin-right: 8px;
  vertical-align: middle;
}

.heading-warn {
  color: #c62828;
  font-size: 14px;
}

.heading-warn strong {
  color: #c62828;
  font-weight: 700;
}

/* Inline provider facts (replaces topic accordions) */
.provider-facts {
  margin: 8px 0 12px;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 4px 12px;
  font-size: 13px;
}

.provider-facts dt {
  color: var(--ink-soft);
  font-weight: 600;
  margin: 0;
}

.provider-facts dd {
  margin: 0;
  color: var(--ink);
}

.provider-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.action-btn {
  background: white;
  color: var(--accent);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.action-btn:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  text-decoration: none;
}

.action-btn-primary {
  background: var(--accent);
  color: white !important;
  border-color: var(--accent);
}

.action-btn-primary:hover {
  background: #143f72;
  border-color: #143f72;
  color: white !important;
}

/* Result-card name links through to the dentist's own /d/ page */
.provider-name-link {
  color: inherit;
  text-decoration: none;
}
.provider-name-link:hover {
  text-decoration: underline;
}

/* Traffic-light status dots */
.status-dot {
  display: inline-block;
  font-size: 18px;
  line-height: 1;
  margin-right: 8px;
  vertical-align: middle;
}

.dot-green { color: #2e7d32; }
.dot-yellow { color: #ef6c00; }
.dot-red { color: #c62828; }
.dot-gray { color: #5f6368; }

.verdict-line {
  margin: 0 0 4px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.provider-card-severe .verdict-line {
  color: #c62828;
}

.provider-card-flag .verdict-line {
  color: #6b3a00;
}

/* Plain-language fact lines (license + discipline), 5th-grade readable */
.fact-line {
  margin: 6px 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  display: flex;
  align-items: flex-start;
}

.fact-mark {
  flex: 0 0 auto;
  font-weight: 700;
  margin-right: 8px;
  font-size: 16px;
  line-height: 1.5;
}

.fact-good { color: #2e7d32; }
.fact-warn { color: #ef6c00; }
.fact-bad { color: #c62828; }
.fact-gray { color: #5f6368; }

.status-label { color: var(--ink-soft); font-weight: 600; }

.results-disclaimer {
  margin: 18px auto 0;
  max-width: 640px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.no-results-help {
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: 8px;
  padding: 14px 18px;
  margin: 16px auto;
  max-width: 600px;
  text-align: left;
  font-size: 14px;
  color: #4a2a00;
  line-height: 1.55;
}

.no-results-help p {
  margin: 0 0 8px;
}

.no-results-help ul {
  margin: 0 0 10px;
  padding-left: 22px;
}

.no-results-help li {
  margin-bottom: 4px;
}

.no-results-help strong {
  color: #4a2a00;
}

/* Retired provider treatment */
.retired-pill {
  display: inline-block;
  background: #5f6368;
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
  margin-right: 8px;
  vertical-align: middle;
}

.retired-banner {
  background: #f1f3f4;
  border: 1px solid #dadce0;
  border-left: 3px solid #5f6368;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--ink);
  margin: 0 0 12px;
  line-height: 1.55;
}

.retired-banner strong {
  color: var(--ink);
}

.retired-banner a {
  color: var(--accent);
  text-decoration: underline;
}

.findings-alert {
  background: #fdecea;
  border: 1px solid #f5c2bd;
  color: #6b1414;
}

.findings-alert > strong {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  color: #6b1414;
}

.finding-item {
  background: white;
  border-left: 3px solid #c62828;
  padding: 10px 12px;
  border-radius: 4px;
  margin-top: 8px;
}

.finding-item p {
  margin: 0 0 6px;
  color: var(--ink);
}

.finding-item p:last-child {
  margin-bottom: 0;
}

.finding-item strong {
  color: var(--ink);
}

.finding-item a {
  color: var(--accent);
  text-decoration: underline;
}

.topic {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 8px;
  background: white;
  overflow: hidden;
}

.topic summary {
  cursor: pointer;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  position: relative;
  user-select: none;
}

.topic summary::after {
  content: '+';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--accent);
  font-weight: 400;
}

.topic[open] summary::after {
  content: '−';
}

.topic summary::-webkit-details-marker {
  display: none;
}

.topic-body {
  padding: 0 14px 14px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.topic-body p {
  margin: 0 0 8px;
}

.topic-body strong {
  color: var(--ink);
}

.topic-body em {
  color: var(--ink);
  font-style: italic;
  font-weight: 500;
}

.topic-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.topic-link:hover {
  text-decoration: underline;
}

.topic-note {
  font-size: 12px;
  color: var(--ink-soft);
  font-style: italic;
  margin-top: 10px !important;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
}

.step-list {
  margin: 6px 0 10px;
  padding-left: 22px;
  font-size: 13px;
  color: var(--ink-soft);
}

.step-list li {
  margin-bottom: 4px;
}

.step-list strong {
  color: var(--ink);
}

.flboard-btn {
  background: var(--accent);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease;
  display: inline-block;
  text-align: left;
  line-height: 1.4;
}

.flboard-btn:hover {
  background: #143f72;
}

.flboard-btn-copied {
  background: #2e7d32 !important;
}

.flboard-btn em {
  font-style: italic;
  font-weight: 600;
}

.result-guide {
  background: #f8f9fa;
  border-left: 3px solid var(--accent);
  padding: 10px 14px;
  border-radius: 6px;
  margin: 12px 0;
  font-size: 13px;
}

.result-guide p {
  margin: 0 0 6px;
  line-height: 1.5;
}

.result-guide p:last-child {
  margin-bottom: 0;
}

.guide-icon {
  display: inline-block;
  width: 20px;
  font-weight: 600;
  color: var(--accent);
}

.guide-ok .guide-icon {
  color: #2e7d32;
}

.guide-warn .guide-icon {
  color: #ef6c00;
}

.guide-warn strong {
  color: #6b3a00;
}

.tab-tip {
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 13px;
  color: #6b3a00;
  margin: 12px auto 0;
  max-width: 520px;
  line-height: 1.5;
}

.tab-tip strong {
  color: #4a2a00;
}

.findings-anchor {
  scroll-margin-top: 20px;
}

.back-to-findings {
  text-align: center;
  margin: 20px 0 0;
  font-size: 13px;
}

.back-to-findings a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.back-to-findings a:hover {
  text-decoration: underline;
}

.card-cta {
  display: block;
  margin-top: 14px;
  padding: 10px 14px;
  background: var(--accent);
  color: white !important;
  text-decoration: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

.card-cta:hover {
  background: #143f72;
  text-decoration: none !important;
}

.home-footer {
  padding: 20px 28px 28px;
  text-align: center;
  border-top: 1px solid var(--border);
  background: #f2f2f2;
}

.home-footer div {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.home-footer a {
  font-size: 13px;
  color: var(--ink-soft);
  text-decoration: none;
}

.home-footer a:hover {
  text-decoration: underline;
}

.home-footer p {
  margin: 0;
  font-size: 12px;
  color: #80868b;
}

.footer-disclaimer {
  max-width: 720px;
  margin: 0 auto !important;
  line-height: 1.5;
}

/* ===== Google-style: post-search compact layout ===== */
body.has-results .home-main {
  padding: 18px 20px 60px;
  align-items: stretch;
}

body.has-results .home-center {
  max-width: 1000px;
  text-align: left;
}

body.has-results .home-logo {
  font-size: 30px;
  margin: 0 0 14px;
  text-align: left;
  display: inline-block;
  transition: color 0.15s ease;
}

body.has-results .home-logo:hover {
  color: #143f72;
}

body.has-results .home-tag,
body.has-results .home-note,
body.has-results .home-example {
  display: none !important;
}

body.has-results .home-search {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

body.has-results .home-search input {
  flex: 1 1 240px;
  min-width: 200px;
  padding: 10px 18px;
  font-size: 15px;
}

body.has-results .profession-filter {
  flex: 0 1 200px;
  margin: 0;
  padding: 10px 14px;
  font-size: 13px;
}

body.has-results .home-actions {
  margin: 0;
  flex: 0 0 auto;
  gap: 8px;
}

body.has-results .home-actions .home-btn {
  padding: 9px 14px;
  font-size: 13px;
}

body.has-results #searchResults {
  text-align: left;
  margin-top: 0;
}

body.has-results .provider-list {
  max-width: 100%;
}

body.has-results .results-heading {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 0 14px;
  text-align: left;
}

body.has-results .sources-panel {
  text-align: left;
}

@media (max-width: 600px) {
  .home-logo {
    font-size: 60px;
  }
  .home-main {
    padding-top: 40px;
  }
  .top-nav {
    gap: 14px;
    padding: 14px 16px;
  }
  .top-nav a {
    font-size: 13px;
  }
  body.has-results .home-logo {
    font-size: 24px;
  }
  body.has-results .home-actions {
    width: 100%;
  }
  body.has-results .home-actions .home-btn {
    flex: 1;
    text-align: center;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
    Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.02em;
}

nav a {
  margin-left: 24px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

nav a:hover {
  color: var(--accent);
}

/* Hero */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  line-height: 1.15;
}

.accent {
  color: var(--accent);
}

.tagline {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 40px;
}

/* Search */
.search {
  display: flex;
  gap: 8px;
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  padding: 8px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 14px;
  font-size: 16px;
  background: transparent;
  color: var(--ink);
}

.search button {
  background: var(--accent);
  color: white;
  border: none;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.search button:hover {
  background: #143f72;
}

.search-note {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 16px;
}

/* Search results */
.search-results {
  max-width: 880px;
  margin: 32px auto 0;
  text-align: left;
}

.results-status,
.results-empty {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  color: var(--ink-soft);
  font-size: 15px;
}

.results-empty h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--ink);
}

.results-empty p {
  margin: 0;
}

.results-header {
  margin: 0 0 18px;
  padding: 0 4px;
}

.results-header h3 {
  margin: 0 0 4px;
  font-size: 18px;
  color: var(--ink);
}

.results-note {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
}

.provider-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
}

.provider-card h4 {
  margin: 0 0 12px;
  font-size: 16px;
  color: var(--accent);
}

.provider-card dl {
  margin: 0 0 14px;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 4px 14px;
  font-size: 13.5px;
  flex-grow: 1;
}

.provider-card dt {
  color: var(--ink-soft);
  font-weight: 600;
}

.provider-card dd {
  margin: 0;
  color: var(--ink);
}

.provider-card dd a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px dotted var(--accent);
}

.provider-card dd a:hover {
  border-bottom-style: solid;
}

.provider-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  padding: 10px 0 14px;
  border-top: 1px dashed var(--border);
  margin-top: 4px;
  font-size: 12.5px;
}

.provider-links .links-label {
  color: var(--ink-soft);
  font-weight: 600;
  margin-right: 2px;
}

.provider-links a {
  color: var(--accent);
  text-decoration: none;
  padding: 2px 6px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  white-space: nowrap;
  transition: all 0.15s ease;
}

.provider-links a:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}

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

.provider-actions .btn-primary,
.provider-actions .btn-secondary {
  padding: 8px 12px;
  font-size: 13px;
  flex: 1;
  min-width: 120px;
}

/* What */
.what {
  padding: 60px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.what h2,
.how h2,
.about h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 32px;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--accent);
}

.card p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
}

/* How */
.how {
  padding: 60px 0;
}

.how ol {
  max-width: 640px;
  margin: 0 auto;
  padding-left: 24px;
  font-size: 16px;
  color: var(--ink-soft);
}

.how ol li {
  margin-bottom: 14px;
}

.how ol strong {
  color: var(--ink);
}

/* About */
.about {
  padding: 60px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.about p {
  max-width: 640px;
  margin: 0 auto 16px;
  font-size: 16px;
  color: var(--ink-soft);
}

/* How note */
.how-note {
  text-align: center;
  margin-top: 24px;
}

.how-note a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.how-note a:hover {
  text-decoration: underline;
}

/* Nav CTA */
.nav-cta {
  background: var(--accent);
  color: white !important;
  padding: 8px 16px;
  border-radius: 6px;
}

.nav-cta:hover {
  background: #143f72;
  color: white !important;
}

.nav-cta.active {
  background: #143f72;
}

/* Pricing */
.pricing {
  padding: 60px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pricing-intro {
  text-align: center;
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 560px;
  margin: -16px auto 40px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.price-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.price-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--accent);
}

.price {
  font-size: 36px;
  font-weight: 700;
  color: var(--ink);
  margin: 8px 0 20px;
}

.price-old {
  font-size: 18px;
  font-weight: 400;
  color: var(--ink-soft);
  text-decoration: line-through;
  margin-left: 8px;
  vertical-align: middle;
}

.active-link {
  color: var(--accent) !important;
  font-weight: 600;
}

/* Content pages (methodology, faq) */
.content-page {
  padding: 50px 0;
}

.content-page h1 {
  font-size: 32px;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.content-page h2 {
  font-size: 20px;
  margin: 36px 0 10px;
  color: var(--ink);
}

.content-page p,
.content-page li {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.content-page ul,
.content-page ol {
  padding-left: 22px;
}

.content-page li {
  margin-bottom: 10px;
}

.content-page strong {
  color: var(--ink);
}

/* FAQ accordion */
.faq {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  padding: 0;
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  list-style: none;
  position: relative;
  user-select: none;
}

.faq summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--accent);
  font-weight: 400;
}

.faq[open] summary::after {
  content: '−';
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  padding: 0 20px 16px;
  margin: 0 0 10px;
}

.faq p:first-of-type {
  padding-top: 4px;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
  font-size: 14px;
  color: var(--ink-soft);
  flex-grow: 1;
}

.price-card ul li {
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.price-card ul li:last-child {
  border-bottom: none;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: #143f72;
}

.btn-secondary {
  background: var(--surface);
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-secondary:hover {
  background: var(--accent-soft);
}

/* Report page */
.report-page,
.request-page {
  padding: 50px 0;
}

.container.narrow {
  max-width: 760px;
}

.sample-notice {
  background: #fff9e6;
  border: 1px solid #f0d878;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 24px;
}

.report {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.report-header {
  border-bottom: 2px solid var(--accent);
  padding-bottom: 18px;
  margin-bottom: 32px;
}

.report-header h1 {
  margin: 0 0 6px;
  font-size: 26px;
  color: var(--accent);
}

.report-meta {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
}

.report-section {
  margin-bottom: 36px;
}

.report-section h2 {
  font-size: 18px;
  color: var(--ink);
  margin: 0 0 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
}

.report-table,
.summary-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 14px;
}

.report-table th,
.report-table td,
.summary-table td {
  text-align: left;
  padding: 8px 10px;
  border: 1px solid var(--border);
  vertical-align: top;
}

.report-table th {
  background: var(--bg);
  font-weight: 600;
  color: var(--ink);
  width: 30%;
}

.report-table thead th {
  width: auto;
}

.finding {
  padding: 10px 14px;
  border-radius: 8px;
  margin: 12px 0;
  font-size: 14px;
}

.finding.ok {
  background: #e8f5e9;
  border-left: 4px solid #2e7d32;
  color: #1b5e20;
}

.finding.warn {
  background: #fff4e5;
  border-left: 4px solid #ef6c00;
  color: #6b3a00;
}

.finding.alert {
  background: #fde7e7;
  border-left: 4px solid #c62828;
  color: #7a1414;
}

.summary-table td.ok {
  color: #2e7d32;
  font-weight: 600;
}

.summary-table td.warn {
  color: #ef6c00;
  font-weight: 600;
}

.summary-table td.alert {
  color: #c62828;
  font-weight: 600;
}

.source,
.note {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 6px 0;
  font-style: italic;
}

.report-cta {
  text-align: center;
  margin-top: 40px;
  padding: 32px;
  background: var(--accent-soft);
  border-radius: var(--radius);
}

.report-cta h3 {
  margin: 0 0 16px;
  font-size: 20px;
  color: var(--accent);
}

/* Request form */
.request-page h1 {
  font-size: 30px;
  margin: 0 0 10px;
}

.lead {
  color: var(--ink-soft);
  font-size: 16px;
  margin-bottom: 32px;
}

.request-form {
  background: var(--surface);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.request-form label {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  gap: 6px;
}

.request-form input,
.request-form select,
.request-form textarea {
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  font-weight: normal;
  color: var(--ink);
  background: var(--bg);
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
}

.request-form button {
  margin-top: 8px;
}

.form-note {
  font-size: 12px;
  color: var(--ink-soft);
  margin: 0;
}

.form-success {
  background: #e8f5e9;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid #c8e6c9;
}

.form-success h2 {
  margin: 0 0 12px;
  color: #1b5e20;
}

/* Footer */
footer {
  padding: 32px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  text-align: center;
}

footer p {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
}

/* Mobile */
@media (max-width: 600px) {
  nav a {
    margin-left: 10px;
    font-size: 13px;
  }
  .nav-cta {
    padding: 6px 10px;
  }
  .search {
    flex-direction: column;
  }
  .search button {
    width: 100%;
  }
  .price-card.featured {
    transform: none;
  }
  .report {
    padding: 24px;
  }
  .request-form {
    padding: 20px;
  }
}
