html { scroll-padding-top: 88px; }

body.admin-bar .site-header { top: 32px; }

.wp-block-frachttower-reference-section { margin: 0; }

.ft-form-status[hidden],
.ft-field-error[hidden] { display: none; }

.lead-form [aria-invalid="true"],
.partner-form [aria-invalid="true"] { border-color: var(--ft-red-700); }

.ft-field-error {
  color: var(--ft-red-700);
  display: block;
  font-size: 11px;
  margin-top: 5px;
}

.ft-form-status {
  background: var(--ft-red-100);
  border-left: 3px solid var(--ft-red-700);
  color: var(--ft-red-700);
  grid-column: 1 / -1;
  margin-bottom: 16px;
  padding: 12px 14px;
}

.ft-form-status.is-success {
  background: var(--ft-green-100);
  border-left-color: var(--ft-green-700);
  color: var(--ft-green-700);
}

/* WCAG AA contrast corrections for small labels inherited from the frozen reference. */
/* stylelint-disable no-descending-specificity -- targeted final overrides intentionally follow reference.css */
.process-step > b,
.brand-preview .preview-strip .inactive > span > b,
.brand-preview .preview-strip .inactive > span > small {
  color: #53625d;
}

.brand-preview .preview-strip .inactive {
  opacity: 1;
}

.direct > .process-label > small {
  color: #fff;
}

.arch-core > small {
  color: #9eb7ad;
}

.product-window-compact .product-sidebar > span,
.product-window-compact .product-heading small,
.product-window-compact .product-stats > span,
.product-window-compact .search-line > span,
.product-window-compact .table-head > span {
  color: #53625d;
}

.footer-bottom,
.footer-bottom a,
.footer-bottom button {
  color: #76958a;
}

.tour-sidebar button {
  background-color: #071925;
}
/* stylelint-enable no-descending-specificity */

@media (width <= 782px) {
  body.admin-bar .site-header { top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
