/* Service information on the public site shares the navigation and rate-query palette. */
body.public-site :is(
  .buying-feature, .buying-fee-panel, .collecting-feature, .fch-china-market, .fch-sourcing-note,
  .buying-single-item, .buying-sourcing-panel, .collecting-samples-panel, .fch-start-card,
  .resource-hero, .resource-contact, .casebook-cover, .fch-location, .home-integration-planning
) {
  background: var(--fch-surface);
  color: var(--fch-ink);
  border: 1px solid var(--fch-line);
  border-radius: var(--fch-radius);
  box-shadow: none;
}
body.public-site :is(.buying-feature, .resource-hero, .fch-location, .home-integration-planning) {
  border-block-start: 3px solid var(--fch-accent);
}
body.public-site .buying-feature::before, body.public-site .home-metrics::before,
body.public-site .home-metrics .stat-item::before { content: none; }

body.public-site :is(.collecting-feature, .fch-china-market, .buying-feature, .buying-fee-panel,
  .buying-sourcing-teaser, .fch-start-card, .resource-hero, .casebook-cover, .fch-location,
  .home-integration-start) :is(h1, h2, h3, h4) { color: var(--fch-ink); }
body.public-site :is(.collecting-feature, .fch-china-market, .buying-feature, .buying-fee-panel,
  .fch-sourcing-note, .fch-start-card, .resource-hero, .casebook-cover, .fch-location-copy,
  .home-integration-start) p,
body.public-site :is(.buying-facts span, .fch-location .fch-location-note) { color: var(--fch-muted); }
body.public-site :is(.buying-feature-kicker, .buying-facts strong, .fch-china-market-label,
  .fch-sourcing-icon, .fch-resource-eyebrow, .buying-single-item-badge, .buying-sourcing-index,
  .resource-eyebrow, .resource-index, .fch-location-kicker, .fch-start-card .fch-eyebrow,
  .fch-start-card .fch-fees-link, .home-integration-flow>p) { color: var(--fch-accent); }
body.public-site :is(.buying-facts>div, .collecting-route li, .buying-sourcing-grid article,
  .collecting-samples-panel li, .fch-china-market-platform-names span, .buying-service .service-step,
  .resource-emblem, .buying-single-item-icon) {
  background: var(--fch-tint);
  color: var(--fch-ink);
  border-color: var(--fch-line);
}
body.public-site :is(.collecting-route-dot, .collecting-kicker, .fch-china-market-label,
  .buying-service .service-number, .buying-sourcing-process, .home-integration-flow li>span,
  .home-integration-start li, .resource-editions a[aria-current=true]) {
  background: var(--fch-tint);
  border-color: var(--fch-line);
  color: var(--fch-accent);
  box-shadow: none;
}
body.public-site :is(.buying-sourcing-teaser, .collecting-samples-teaser, .home-integration-start,
  .resource-contents, .buying-sourcing-process) { border-color: var(--fch-line); }
body.public-site :is(.resource-emblem svg, .buying-single-item-icon) { color: var(--fch-accent); stroke: currentColor; }
body.public-site .fch-location-kicker>span, body.public-site .casebook-cover-text::before,
body.public-site .home-integration-flow li:not(:last-child)::after { background: var(--fch-accent); }

body.public-site :is(.buying-actions, .collecting-actions, .fch-china-market-actions,
  .buying-single-item-actions, .buying-sourcing-links) a,
body.public-site :is(.collecting-samples-teaser>a, .buying-sourcing-teaser>a,
  .resource-tabs a, .fch-showcase-actions a, .casebook-cover a, .casebook-cover a span) {
  background: var(--fch-surface);
  color: var(--fch-accent);
  border-color: var(--fch-line);
}
body.public-site :is(.buying-actions, .collecting-actions, .fch-china-market-actions,
  .buying-single-item-actions, .buying-sourcing-links, .buying-service .service-links) a:first-child,
body.public-site :is(.resource-tabs a[aria-current=page], .resource-contact-button,
  .casebook-contact a, .fch-location-open, .fch-showcase-actions .fch-apply, .fch-sourcing-note>a,
  .service-fold .hero-shopping-form button) {
  background: var(--fch-accent);
  color: var(--fch-surface);
  border-color: var(--fch-accent);
}
body.public-site :is(.buying-actions, .collecting-actions, .fch-china-market-actions, .buying-single-item-actions,
  .buying-sourcing-links, .buying-service .service-links) a:hover,
body.public-site :is(.resource-tabs a, .resource-contact-button, .casebook-contact a, .casebook-cover a,
  .fch-location-open, .fch-showcase-actions a, .fch-sourcing-note>a, .buying-sourcing-teaser>a,
  .collecting-samples-teaser>a):hover {
  text-decoration: underline;
  text-underline-offset: .2em;
  border-color: var(--fch-accent);
}

body.public-site .home-metrics.stats-bar, body.public-site .casebook {
  background: var(--fch-canvas);
}
body.public-site .casebook {
  --case-ink: var(--fch-ink);
  --case-teal: var(--fch-accent);
  --case-line: var(--fch-line);
}
body.public-site .home-metrics .stat-item {
  --metric-accent: var(--fch-accent);
  background: var(--fch-surface);
  border-color: var(--fch-line);
  box-shadow: none;
}
body.public-site .home-metrics .stat-num { color: var(--fch-ink); }
body.public-site .home-metrics :is(.stat-label, .metric-symbol>span) { color: var(--fch-muted); }
body.public-site .home-metrics .metric-track { background: var(--fch-line); }
body.public-site .home-metrics .stat-item:hover { border-color: var(--fch-accent); }

body.public-site.page-home .home-discovery :is(.discovery-card:first-child, .discovery-card:last-child),
body.public-site.page-home .home-signup-hook .home-signup-offer {
  background: var(--fch-surface);
  border-color: var(--fch-line);
}
body.public-site.page-home .home-signup-hook .home-signup-offer,
body.public-site.page-home .home-signup-hook .home-signup-offer strong,
body.public-site.page-home .tool-card :is(.tool-icon, .tool-link) { color: var(--fch-accent); }
body.public-site.page-home .home-signup-hook .home-signup-offer:hover {
  background: var(--fch-tint);
  border-color: var(--fch-accent);
}

body.public-site.page-home :is(.home-integrations, .welcome-rewards, .cta-section) {
  background: var(--fch-canvas);
  color: var(--fch-ink);
}
body.public-site.page-home :is(.fch-preview-tour-inner, .fch-learning, .tutorial-card-buying,
  .tutorial-card-collecting, .welcome-rewards-inner) {
  background: var(--fch-surface);
  border-color: var(--fch-line);
  box-shadow: none;
}
body.public-site.page-home .welcome-rewards-inner::before { content: none; }
body.public-site.page-home .welcome-rewards-copy h2 { color: var(--fch-ink); }
body.public-site.page-home :is(.welcome-rewards-eyebrow, .welcome-rewards-total) { color: var(--fch-accent); }
body.public-site.page-home :is(.welcome-rewards-copy>p:not(.welcome-rewards-eyebrow),
  .welcome-rewards-total>p, .cta-section>p) { color: var(--fch-muted); opacity: 1; }
body.public-site.page-home .welcome-rewards-details { border-color: var(--fch-line); }
body.public-site.page-home .welcome-rewards-details p { color: var(--fch-muted) !important; }
body.public-site.page-home .welcome-rewards-ticket::before,
body.public-site.page-home .welcome-rewards-ticket::after { background: var(--fch-surface); }
body.public-site.page-home .cta-section { border-block-start: 1px solid var(--fch-line); }
body.public-site.page-home :is(.welcome-rewards-cta, .cta-section a.fch-rate-cta) {
  background: var(--fch-accent);
  border: 1px solid var(--fch-accent);
  color: var(--fch-surface) !important;
  -webkit-text-fill-color: currentColor;
  animation: none;
  box-shadow: none;
}
body.public-site.page-home .cta-section a.fch-rate-cta::after { content: none; }
body.public-site.page-home .cta-section a.fch-convert-cta {
  background: var(--fch-surface) !important;
  color: var(--fch-accent) !important;
  -webkit-text-fill-color: currentColor;
}
body.public-site.page-home :is(.welcome-rewards-cta, .conversion-bottom-actions a):hover {
  text-decoration: underline !important;
  text-underline-offset: .2em;
}
