/* ================================================================
   ErgonomicsHelp — Keyboard Webinar Theme Overrides
   Applied on top of Encore base styles via settings_data.json
   ================================================================ */

/* --- Font smoothing --- */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Heading weight & tracking --- */
h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* --- Teal accent links --- */
a:not(.btn):not(.form-btn) {
  color: #14b8a6;
}

/* --- Pill-shaped buttons --- */
.btn,
.form-btn {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn:hover,
.form-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
}
.btn:active,
.form-btn:active {
  transform: translateY(0);
}

/* --- Form inputs: rounder, cleaner --- */
.form-control {
  border-radius: 0.75rem !important;
  border: 2px solid rgba(0, 0, 0, 0.08) !important;
  padding: 0.875rem 1rem !important;
  font-size: 1rem !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}
.form-control:focus {
  border-color: #14b8a6 !important;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1) !important;
  outline: none !important;
}
.form-control::placeholder {
  color: #94a3b8 !important;
}

/* --- Form button override: full-width teal gradient --- */
.form-btn {
  width: 100% !important;
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%) !important;
  color: #ffffff !important;
  border-radius: 100px !important;
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  padding: 1rem 2rem !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(20, 184, 166, 0.4) !important;
}
.form-btn:hover {
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.5) !important;
}

/* --- Disclaimer text --- */
.disclaimer-text {
  font-size: 0.8125rem !important;
  color: #94a3b8 !important;
}

/* --- Clean footer --- */
#section-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* --- Bonus section grid responsive fix --- */
@media (max-width: 639px) {
  .section [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

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