/* Shared MEPMate public-site polish. Keep content and page-specific layouts intact. */
:root {
  --mm-ink: #102544;
  --mm-blue: #1d5eea;
  --mm-blue-dark: #1649b7;
  --mm-blue-soft: #eef4ff;
  --mm-line: #dfe7f3;
  --mm-muted: #66758b;
  --mm-surface: #ffffff;
  --mm-page: #f7f9fd;
  --mm-radius: 16px;
  --mm-shadow: 0 12px 32px rgba(16, 37, 68, .07);
}

html { scroll-padding-top: 88px; }
body { color: var(--mm-ink); -webkit-font-smoothing: antialiased; }
::selection { color: #102544; background: #cde7ff; }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(29, 94, 234, .38);
  outline-offset: 3px;
}

.btn, .btn-primary, .btn-secondary, .btn-apply, .btn-view-details,
.btn-solid-blue, .btn-outline-blue, .sb-btn, .auth-submit, .cta-btn {
  min-height: 44px;
  border-radius: 10px;
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn-primary, .btn-apply, .btn-solid-blue, .sb-btn {
  background: linear-gradient(135deg, #286ef3, #1c56d2);
  box-shadow: 0 7px 18px rgba(29, 94, 234, .16);
}
.btn-primary:hover, .btn-apply:hover, .btn-solid-blue:hover, .sb-btn:hover {
  background: linear-gradient(135deg, #1d5eea, #1649b7);
  box-shadow: 0 10px 22px rgba(29, 94, 234, .22);
  transform: translateY(-1px);
}

input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),
select, textarea {
  border-color: #d6e0ef;
  border-radius: 10px;
  color: #102544;
  background-color: #fff;
}
input::placeholder, textarea::placeholder { color: #8a98ad; opacity: 1; }
input:focus, select:focus, textarea:focus {
  border-color: #76a5ff !important;
  box-shadow: 0 0 0 4px rgba(29, 94, 234, .1);
}

.job-card, .blog-card, .post-card, .pricing-card, .contact-card, .faq-card,
.auth-card, .ct-form-card, .accred-card, .split-card, .match-card,
.why-card, .cat-card, .calc-card, .card-panel {
  border-color: var(--mm-line);
  border-radius: var(--mm-radius);
  box-shadow: 0 8px 24px rgba(16, 37, 68, .045);
}
.job-card:hover, .blog-card:hover, .post-card:hover, .calc-card:hover {
  border-color: #b7cffb;
  box-shadow: var(--mm-shadow);
}
.section, .section-alt, .jobs-layout, .page-section { scroll-margin-top: 88px; }
.section-tag, .sec-tag, .jtag-blue, .verified-badge {
  border-radius: 999px;
}
.section-title, .sec-h { text-wrap: balance; }

@media (max-width: 768px) {
  html { scroll-padding-top: 72px; }
  .container { width: min(100% - 28px, 1300px); }
  .btn, .btn-primary, .btn-secondary, .btn-apply, .btn-view-details,
  .btn-solid-blue, .btn-outline-blue, .sb-btn { min-height: 46px; }
  .job-card, .blog-card, .pricing-card, .auth-card, .ct-form-card { border-radius: 14px; }
  .hero, .about-hero, .ct-hero, .calc-hero, .blog-hero { min-height: auto; }
  .job-cta, .cta-row, .hero-cta-row { gap: .65rem; }
  .footer-inner { gap: 1.75rem; }
}

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