/* Approved GMS finish for the existing trust and product pages.
   Shared tokens come from surface-gloss.css; geometry and motion stay local. */
.site-polish.gloss-theme:is(.trust-page, .products-refined) :is(
  .about-bullets, .trust-case-preview, .trust-remote, .trust-case, .toolset, .site-contact-card,
  .contact-form-col, .contact-details-panel, .contact-map-panel,
  .hub-module, .hub-concept-image, .tool-file-panel, .tool-update,
  .tool-updates-status, .tool-feature-capabilities > li, .product-card, .service-side,
  .product-hero-media, .product-gallery figure
):not(.links-card) {
  border-radius: var(--glass-card-radius);
  border-color: var(--glass-border);
  background: var(--gloss-surface);
  box-shadow: var(--gloss-shadow);
}

/* Restart the surface beneath the About photo without painting over it. */
.site-polish.gloss-theme.trust-page .trust-preview-copy,
.site-polish.gloss-theme.trust-page .process-card {
  background: var(--gloss-surface);
}
.site-polish.gloss-theme.trust-page .trust-preview-copy {
  border-radius: 0 0 var(--glass-card-radius) var(--glass-card-radius);
}
.site-polish.gloss-theme.trust-page .process-card {
  border-radius: var(--glass-card-radius);
  border-color: var(--glass-border);
}
.site-polish.gloss-theme.trust-page .process-card:not(:hover, .is-card-in-view) {
  box-shadow: var(--gloss-shadow);
}

/* Keep the accordion's original open highlight and answer transition. */
.site-polish.gloss-theme.trust-page .faq-item {
  border-radius: var(--glass-card-radius);
  background: var(--gloss-surface);
}
.site-polish.gloss-theme.trust-page .faq-item:not([open]) {
  box-shadow: var(--gloss-control-shadow);
}

.site-polish.gloss-theme:is(.trust-page, .products-refined) :is(
  .trust-icon, .hub-details-link
),
.site-polish.gloss-theme.products-refined .tool-updates-filter select,
.site-polish.gloss-theme.products-refined .tool-feature-rail > li::before {
  background: var(--gloss-control);
  box-shadow: var(--gloss-control-shadow);
}

/* Match the reviewed primary and secondary actions without changing targets. */
.site-polish.gloss-theme:is(.trust-page, .products-refined) .hero-btn,
.site-polish.gloss-theme.trust-page .contact-form .form-actions > button:not(.whatsapp-submit) {
  border-radius: var(--glass-control-radius);
  border-color: #aa5f5566;
  background: var(--gloss-red);
  box-shadow: var(--gloss-red-shadow);
}
.site-polish.gloss-theme:is(.trust-page, .products-refined) :is(.hero-btn-outline, .ghost-btn) {
  border-radius: var(--glass-control-radius);
  border-color: var(--glass-border);
  background: var(--gloss-control);
  box-shadow: var(--gloss-control-shadow);
}
.site-polish.gloss-theme:is(.trust-page, .products-refined) .hero-btn:is(:hover, .is-card-in-view),
.site-polish.gloss-theme.trust-page .contact-form .form-actions > button:hover:not(:disabled) {
  filter: brightness(1.06);
}
.site-polish.gloss-theme.trust-page .contact-form .form-actions > .whatsapp-submit {
  border-radius: var(--glass-control-radius);
  border-color: #25d36680;
  color: #67e695;
  background: var(--gloss-control);
  box-shadow: var(--gloss-control-shadow);
}

/* Focus and invalid fields retain the existing visible feedback. */
.site-polish.gloss-theme.trust-page .contact-form :is(input:not([type="checkbox"]):not([type="radio"]), textarea, .csel-btn, select) {
  border-radius: var(--glass-small-radius);
}
.site-polish.gloss-theme.trust-page .contact-form .csel-btn,
.site-polish.gloss-theme.trust-page .contact-form :is(input, textarea):not(.is-invalid, :focus, :focus-visible) {
  background: var(--gloss-control);
}
.site-polish.gloss-theme.trust-page .contact-form :is(input, textarea, .csel-btn):not(.is-invalid, :focus, :focus-visible) {
  box-shadow: var(--gloss-control-shadow);
}
.site-polish.gloss-theme.trust-page .contact-form :is(.csel-placeholder, .csel-chev) {
  color: rgba(255, 255, 255, .52);
}
/* Preserve the native select's existing arrow when enhancement is unavailable. */
.site-polish.gloss-theme.trust-page .contact-form select:not(.is-invalid, :focus, :focus-visible) {
  background-color: #111;
  box-shadow: var(--gloss-control-shadow);
}

@media (forced-colors: active) {
  .site-polish.gloss-theme:is(.trust-page, .products-refined) :is(
    .about-bullets, .trust-case-preview, .trust-remote, .trust-case, .trust-preview-copy, .process-card,
    .toolset, .site-contact-card, .contact-form-col, .contact-details-panel,
    .contact-map-panel, .hub-module, .hub-concept-image, .tool-file-panel,
    .tool-update, .tool-updates-status, .faq-item, .tool-feature-capabilities > li,
    .product-card, .service-side, .product-hero-media, .product-gallery figure
  ) {
    background: Canvas;
    box-shadow: none;
  }
  .site-polish.gloss-theme.trust-page .process-card:not(:hover, .is-card-in-view),
  .site-polish.gloss-theme.trust-page .faq-item:not([open]) {
    box-shadow: none;
  }
  .site-polish.gloss-theme:is(.trust-page, .products-refined) :is(
    .trust-icon, .hub-details-link, .hero-btn, .hero-btn-outline, .ghost-btn
  ),
  .site-polish.gloss-theme.products-refined .tool-updates-filter select,
  .site-polish.gloss-theme.products-refined .tool-feature-rail > li::before,
  .site-polish.gloss-theme.trust-page .contact-form .form-actions > button:not(.whatsapp-submit),
  .site-polish.gloss-theme.trust-page .contact-form .form-actions > .whatsapp-submit {
    background: ButtonFace;
    color: ButtonText;
    box-shadow: none;
  }
  .site-polish.gloss-theme.trust-page .contact-form :is(input, textarea, .csel-btn, select):not(.is-invalid, :focus, :focus-visible) {
    background: Canvas;
    color: CanvasText;
    box-shadow: none;
  }
  .site-polish.gloss-theme.trust-page .contact-form .csel-btn { background: Canvas; }
  .site-polish.gloss-theme.trust-page .contact-form :is(.csel-placeholder, .csel-chev) { color: GrayText; }
}
