/* Form validation errors (DDEFormSecurity) */
.dde-field-error,
input.dde-field-error,
textarea.dde-field-error,
select.dde-field-error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}
.dde-error-msg {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #b91c1c;
  line-height: 1.35;
}

/* Global keyboard focus (marketing pages) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.nav-link:focus-visible,
.btn-hero:focus-visible,
.btn-hero-ghost:focus-visible,
.form-submit:focus-visible,
.cf-submit:focus-visible {
  outline: 2px solid #cc0000;
  outline-offset: 3px;
}

/* Prefer 8px-aligned section rhythm helpers */
.section-pad {
  padding-block: clamp(3rem, 8vw, 5rem);
  padding-inline: clamp(1rem, 5vw, 4rem);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 10001;
  background: var(--red, #CC0000);
  color: #fff;
  padding: .65rem 1.2rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: top .2s ease;
}
.skip-link:focus {
  top: 1rem;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.reduce-motion .reveal,
.reduce-motion .hero-badge,
.reduce-motion h1.hero-h1,
.reduce-motion .hero-body,
.reduce-motion .hero-kicker {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

.sticky-cta {
  display: none;
  position: fixed;
  bottom: 5.5rem;
  right: 1.2rem;
  z-index: 999;
  background: var(--red, #CC0000);
  color: #fff;
  padding: .75rem 1.2rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 100px;
  box-shadow: 0 8px 24px rgba(204, 0, 0, .35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.sticky-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(204, 0, 0, .45);
}
@media (max-width: 860px) {
  .sticky-cta { display: inline-flex; align-items: center; gap: .4rem; }
}
@media (max-width: 480px) {
  .sticky-cta {
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0;
    justify-content: center;
    padding: .9rem 1rem;
    font-size: .72rem;
    box-shadow: 0 -4px 24px rgba(204,0,0,.25);
  }
}