/* Legible secondary copy and deliberate public actions; geometry stays local. */
:root { --fch-muted: #425366; --fch-readable-muted: #425366; }
body :is(.text-muted,.muted,.help-text,.form-hint,.field-hint,.form-help,.field-help,.subtext):not(:disabled):not([aria-disabled="true"]) {
  color: var(--fch-readable-muted) !important;
}
body :is(input,textarea):not(:disabled)::placeholder { color: #526174; opacity: 1; }
body.public-site.page-home :is(.hero .fch-all-in-one>span,.home-signup-offer small,.home-signup-conditions,.home-signup-conditions a),
body.public-site.page-home .home-signup-hook .home-signup-conditions,
body.public-site.page-home .hero.hero-conversion p.hero-benefit-subtitle {
  color: #364b61;
}
body.public-site :is(.fch-carriers-heading p,.fch-carrier small,.fch-company-lead,.fch-company-pillars p,.section-header p,.feedback-heading p,.home-resources-intro,.need-intro,.home-search-hint,.quote-currency-control small) {
  color: #425366;
}
body[data-portal-role] :is(.staff-brand-subtitle,.sidebar-footer a,.user-info .email,.ov-subtitle,.ov-kicker,.ov-metric-label,.ov-chart-subtitle,.ov-subtle,.waybill-guide-note,.pickup-goods-note,.waybill-panel-heading small,.op-message small,.form-group .optional,.form-row .optional) {
  color: #425366 !important;
}
body[data-portal-role] .sidebar :is(.menu-group-title,.portal-business-context) { color: #425366 !important; }
/* Dark panels need lighter secondary type, never dark text on a dark field. */
body .fch-company-footer { --fch-readable-muted: #d6e3ed; }
body .fch-company-footer :is(.fch-footer-tagline,.fch-footer-columns p,.fch-footer-bottom p) { color: #c9dbe7; }
body .fch-company-footer .fch-footer-columns a { color: #dbe7ef; }
body .fch-company-footer .fch-footer-columns .fch-footer-more { color: #ffcb83; }
body[data-portal-role] :is(.ov-wallet,.checkin-hero,.daily-checkin-hero) { --fch-readable-muted: #d6e3ed; }

/* Marketing headlines carry emphasis; controls and instructional copy stay upright. */
body.public-site.page-home .hero.hero-conversion :is(h1,.hero-reach,.hero-promise,p.hero-benefit-subtitle),
body.public-site.page-home :is(.section-header h2,.need-heading h2,.home-resources h2,.home-feedback h2) {
  font-style: italic;
  font-weight: 750;
}
body.public-site.page-home .hero.hero-conversion p.hero-benefit-subtitle { font-weight: 650; line-height: 1.7; }
body.public-site.page-home .hero.hero-conversion .hero-quote-priority a.home-signup-cta {
  min-height: 54px;
  padding: 12px 16px;
  background: #f5a623 !important;
  border: 2px solid #a8620b !important;
  color: #162c42 !important;
  -webkit-text-fill-color: currentColor;
  font-size: 15px;
  font-weight: 800;
  font-style: normal;
  box-shadow: 0 3px 0 #b67520;
  transition: background .16s ease, box-shadow .16s ease;
}
body.public-site.page-home .hero.hero-conversion .hero-quote-priority a.home-signup-cta:is(:hover,:focus-visible) {
  background: #ffc45e !important;
  box-shadow: 0 4px 0 #a8620b;
}

/* Link movement is subtle and directional, with the same cue for keyboard focus. */
body .fch-company-footer .fch-footer-columns>div>a,
body .fch-company-footer .fch-footer-columns h3>a,
body .fch-company-footer .fch-footer-resources>a {
  --footer-shift: 4px;
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
  transition: transform .18s ease, color .18s ease, text-decoration-color .18s ease;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
html[dir="rtl"] body .fch-company-footer a,
body[dir="rtl"] .fch-company-footer a { --footer-shift: -4px; }
body .fch-company-footer .fch-footer-columns>div>a:is(:hover,:focus-visible),
body .fch-company-footer .fch-footer-columns h3>a:is(:hover,:focus-visible),
body .fch-company-footer .fch-footer-resources>a:is(:hover,:focus-visible) {
  color: #ffd08d;
  transform: translateX(var(--footer-shift));
  text-decoration-color: currentColor;
}
@media (prefers-reduced-motion: reduce) {
  body .fch-company-footer a,
  body.public-site.page-home .hero.hero-conversion .hero-quote-priority a.home-signup-cta { transition: none !important; }
  body .fch-company-footer .fch-footer-columns>div>a:is(:hover,:focus-visible),
  body .fch-company-footer .fch-footer-columns h3>a:is(:hover,:focus-visible),
  body .fch-company-footer .fch-footer-resources>a:is(:hover,:focus-visible) { transform: none; }
}
