/* Public pages: clear warning text, blue information, and open sections. */
:is(.home-page,.report-page,.archive-page,.info-page) main {
  color: #173d70;
}
:is(.home-page,.report-page,.archive-page,.info-page) main :is(h1,h2,h3,h4,p,li,summary) {
  color: #173d70;
}
:is(.home-page,.report-page,.archive-page,.info-page) main :is(
  .hero-shell, .hero-inner-clean, .hero-side-panel, .hero-inline-result,
  .hero-search-panel, .search-panel, .report-card, .blacklist-card,
  .database-stat-card, .verification-step-card, .example-card,
  .guide-card, .answer-card, .submit-simple, .lookup-panel,
  .lookup-overview-card, .lookup-source-card, .lookup-reason-card,
  .report-hero-card, .report-detail-card, .report-overview-card,
  .report-action-strip, .report-action-grid article, .report-ai-answer-card,
  .report-ai-answer-panel, .report-object-graph, .report-object-node,
  .report-public-enrichment, .report-public-fact, .report-analysis-card,
  .detail-block, .report-supplement-card, .archive-hero-card,
  .archive-summary-card, .archive-insight-card, .archive-index-card,
  .archive-report-card, .archive-section, .info-hero-card,
  .info-summary-card, .info-side-panel, .info-panel,
  .report-submit-hero-card, .report-submit-mini-card, .report-submit-step-card,
  .report-submit-form-wrap, .clarity-details, .clarity-home-more > summary
) {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
:is(.home-page,.report-page,.archive-page,.info-page) main :is(
  .hero-shell, .report-hero-card, .archive-hero-card, .info-hero-card
)::before,
:is(.home-page,.report-page,.archive-page,.info-page) main :is(
  .hero-shell, .report-hero-card, .archive-hero-card, .info-hero-card
)::after { display: none !important; }
:is(.home-page,.report-page,.archive-page,.info-page) main :is(
  .guide-section, .hero, .report-hero-section, .info-hero-section,
  .archive-hero-section, .report-submit-hero-section
) { background: #f6f9fd !important; }
:is(.home-page,.report-page,.archive-page,.info-page) main :is(
  .report-card, .blacklist-card, .archive-report-card, .archive-index-card,
  .info-panel, .detail-block, .clarity-details, .clarity-home-more > summary
) { padding-left: 0 !important; padding-right: 0 !important; }
:is(.home-page,.report-page,.archive-page,.info-page) main :is(
  .report-card, .blacklist-card, .archive-report-card, .archive-index-card,
  .info-panel
) { border-bottom: 1px solid #d8e4f1 !important; }
:is(.home-page,.report-page,.archive-page,.info-page) main :is(
  .pill, .subtle-pill, .hero-lookup-badge, .lookup-match-meta-item,
  .lookup-insight-badge
) {
  color: #1c528c !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
/* Red means a warning or a risk, never an absence of evidence. */
body.home-page main :is(.hero-inline-result-high,.hero-inline-result-medium) :is(.status-pill,.hero-risk-pill,.hero-inline-result-title),
body.home-page main :is(.report-card-title-link,.blacklist-card h3,.blacklist-value,.search-alert-danger),
body.archive-page main :is(.archive-report-card h3 a,.archive-insight-verdict),
body.report-page main :is(.clarity-warning-label,.report-hero-copy h1,.report-hero-intro,.report-hero-intro strong,.detail-block-warning h2),
:is(.home-page,.report-page,.archive-page,.info-page) main :is(.status-pill-high,.status-pill-medium,.risk-high,.report-side-risk-high,.analysis-verdict-high) {
  color: #a81725 !important;
}
body.home-page main .hero-inline-result-low :is(.status-pill,.hero-inline-result-title),
body.home-page main .hero-inline-result-neutral :is(.status-pill,.hero-inline-result-title) { color: #174d87 !important; }
:is(.home-page,.report-page,.archive-page,.info-page) main :is(.status-pill-high,.status-pill-medium,.hero-inline-result-high .hero-risk-pill,.hero-inline-result-medium .hero-risk-pill) {
  background: transparent !important; border: 0 !important; box-shadow: none !important;
}
:is(.home-page,.report-page,.archive-page,.info-page) main :is(.button-primary,button.button-primary) {
  color: #fff !important; background: #1758ac !important;
}
:is(.home-page,.report-page,.archive-page,.info-page) main :is(a,button,summary,input,select,textarea):focus-visible {
  outline: 3px solid #135fb6 !important; outline-offset: 3px;
}
@media (max-width: 720px) {
  :is(.home-page,.report-page,.archive-page,.info-page) main :is(.hero-inline-result,.report-card,.archive-report-card,.info-panel) { min-width: 0; }
}
/* Keep ordinary copy blue even where legacy section styles were more specific. */
body:is(.home-page,.report-page,.archive-page,.info-page) main :is(h1,h2,h3,h4,p,li,summary) { color: #173d70 !important; }
body.home-page main .hero-copy .hero-title,
body.info-page main .info-hero-copy h1,
body.archive-page main .archive-hero-copy h1 { color: #173d70 !important; }
body.home-page main .hero-inline-result.hero-inline-result-high,
body.home-page main .hero-inline-result.hero-inline-result-medium { background: transparent !important; border: 0 !important; }
body.home-page main :is(.hero-inline-result-high,.hero-inline-result-medium) :is(.hero-inline-result-title,.status-pill-high,.status-pill-medium),
body.report-page main .report-hero-copy :is(h1,.clarity-warning-label,.report-hero-intro),
body.report-page main .detail-block-warning h2,
body.home-page main :is(.report-card-title-link,.blacklist-card h3),
body.archive-page main .archive-report-card h3 a { color: #a81725 !important; }
body:is(.home-page,.report-page,.archive-page,.info-page) main strong { color: #173d70 !important; }
body.home-page main .hero-inline-result-high strong,
body.home-page main .hero-inline-result-medium strong,
body.report-page main .report-hero-intro strong,
body.report-page main .analysis-score-badge.risk-high strong { color: #a81725 !important; }
body:is(.home-page,.report-page,.archive-page,.info-page) main .button-primary strong { color: #fff !important; }
body.home-page main .hero-live-status { background: transparent !important; border: 0 !important; box-shadow: none !important; padding-left: 0 !important; padding-right: 0 !important; }

body.home-page main :is(.hero-inline-result-neutral,.hero-inline-result-low) .hero-inline-result-title { color: #174d87 !important; }
body.home-page main .hero-copy .hero-text { color: #173d70 !important; }
:is(.home-page,.report-page,.archive-page,.info-page) main :is(.archive-side-panel,.archive-side-group,.report-side-panel,.report-side-sticky,.report-form,.form-section,.form-section-private) {
  background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
}
body.report-submit-page main :is(.report-form,.form-section) { padding-left: 0 !important; padding-right: 0 !important; }
body.report-submit-page main .form-section { border-bottom: 1px solid #d8e4f1 !important; }
body.report-submit-page main :is(.error-message,.report-submit-alert p) { color: #a81725 !important; }

/* Mobile navigation and compact two-column hero details. */
.mobile-menu { display: none; }
@media (max-width: 767px) {
  .site-header { position: sticky !important; top: 0 !important; z-index: 1000 !important; background: #fff !important; }
  .site-header .nav-row { display: flex !important; flex-wrap: nowrap !important; align-items: center; justify-content: space-between; }
  .site-header .nav-hub { display: none !important; }
  .mobile-menu { display: block; position: relative; flex: none; }
  .mobile-menu summary { display: flex; align-items: center; gap: 6px; cursor: pointer; min-height: 44px; padding: 0 12px; color: #174d87; font-weight: 700; list-style: none; border: 1px solid #d8e3f1; border-radius: 10px; background: #fff; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span:first-child { font-size: 1.3rem; line-height: 1; }
  .mobile-menu-panel { position: absolute; top: calc(100% + 8px); right: 0; width: min(260px, calc(100vw - 32px)); max-height: calc(100dvh - 88px); overflow-y: auto; display: flex; flex-direction: column; padding: 8px; background: #fff; border: 1px solid #d8e3f1; border-radius: 12px; box-shadow: 0 12px 30px rgba(20,57,100,.16); }
  .mobile-menu-panel a { color: #174d87; display: block; padding: 12px; font-weight: 700; text-decoration: none; }
  .mobile-menu-panel a:focus-visible, .mobile-menu summary:focus-visible { outline: 3px solid #f0a400; outline-offset: 2px; }
  .mobile-menu-panel .mobile-menu-cta { color: #b51b2a; }
  body.home-page .hero-proof-strip { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 10px 16px !important; }
  body.home-page .hero-proof-strip span { min-width: 0; }
  body.home-page .hero-actions { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 10px; }
  body.home-page .hero-actions .button { min-width: 0; width: 100%; min-height: 44px; height: auto; text-align: center; white-space: normal; }
  body.home-page .hero-search-examples { display: flex; flex-wrap: wrap; }
  body.home-page .hero-title { overflow-wrap: anywhere; }
}

/* Keep mobile copy away from screen edges and reduce oversized type. */
@media (max-width: 767px) {
  html { font-size: 85% !important; }
  body { font-size: 14px !important; }
  .site-header .nav-row { flex-direction: row !important; }
  .site-header .brand-cluster, .site-header .mobile-menu { width: auto !important; }
  .site-header .brand-cluster { min-width: 0; }
  body.home-page .hero-inner.hero-inner-clean { padding-inline: 18px !important; box-sizing: border-box; }
  body.home-page .hero-copy .hero-title { font-size: clamp(30px, 9.3vw, 36.5px) !important; }
  body.home-page .hero-copy .hero-text,
  body.home-page .report-card p,
  body.home-page .source-warning-article p,
  body.archive-page .archive-report-card p { font-size: 14px !important; }
  body .button, body .mobile-menu summary { font-size: 14px !important; }
  body.home-page main .hero-search-panel input,
  body.home-page main .search-panel input,
  body.home-page main .search-panel select { font-size: 16px !important; }
}

/* Compact, readable two-column footer on phones. */
@media (max-width: 767px) {
  .site-footer .footer-slim-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px 18px !important;
  }
  .site-footer .footer-slim-brand { grid-column: 1 / -1; min-width: 0; }
  .site-footer .footer-slim-nav { display: contents !important; }
  .site-footer .footer-slim-nav > div, .site-footer .footer-slim-contact {
    min-width: 0;
    align-content: start;
    gap: 7px;
  }
  .site-footer .footer-slim-nav a, .site-footer .footer-slim-contact a {
    font-size: 14px !important;
    overflow-wrap: anywhere;
    line-height: 1.4;
  }
  .site-footer .footer-nav-title, .site-footer .footer-kicker { font-size: 11px !important; }
  .site-footer .footer-slim-brand p, .site-footer .footer-slim-bottom { font-size: 13px !important; }
  .site-footer .footer-slim-bottom {
    display: flex !important;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
  }
}

/* Clear, accessible disclosure buttons for the home page sections. */
body.home-page .clarity-home-more > summary.container {
  display: flex;
  align-items: center;
  gap: 14px;
  box-sizing: border-box;
  min-height: 64px;
  padding: 12px 16px !important;
  color: #173d70;
  background: #fff !important;
  border: 1px solid #d6e2f1 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 14px rgba(20,57,100,.05) !important;
  cursor: pointer;
  list-style: none;
  line-height: 1.35;
}
body.home-page .clarity-home-more > summary::-webkit-details-marker { display: none; }
body.home-page .clarity-home-more > summary:focus-visible { outline: 3px solid #e8a21a; outline-offset: 3px; }
body.home-page .home-more-icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; color: #1958a4; background: #edf4fc; border-radius: 10px; }
body.home-page .home-more-icon svg { width: 21px; height: 21px; }
body.home-page .home-more-label { flex: 1; min-width: 0; }
body.home-page .home-more-chevron { flex: none; width: 9px; height: 9px; margin: 0 4px 4px 0; border-right: 2px solid #295b96; border-bottom: 2px solid #295b96; transform: rotate(45deg); transition: transform .2s ease; }
body.home-page .clarity-home-more[open] .home-more-chevron { transform: translateY(4px) rotate(225deg); }
body.home-page .clarity-home-more[open] > summary { margin-bottom: 20px; }
@media (prefers-reduced-motion: reduce) { body.home-page .home-more-chevron { transition: none; } }
@media (max-width: 767px) {
  body.home-page :is(.database-stats,.verification-section,.examples-section,.guide-section) { padding-block: 10px !important; }
  body.home-page .clarity-home-more > summary.container { width: calc(100% - 32px) !important; margin-inline: auto !important; font-size: 15px; }
}

/* Keep collapsed home sections compact on desktop as well as mobile. */
@media (min-width: 768px) {
  body.home-page :is(.database-stats,.verification-section,.examples-section,.guide-section) {
    padding-block: 12px !important;
  }
}
