/* ClearAir Mold Pros — base site styles.
   Tailwind (via CDN JIT) handles most utility styling; this file covers
   small refinements Tailwind's CDN build doesn't cover out of the box. */

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Smooth open/close affordance for native <details> FAQ accordions */
details summary::-webkit-details-marker {
  display: none;
}

details > summary {
  -webkit-tap-highlight-color: transparent;
}

/* Focus visibility for keyboard navigation (accessibility) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #0f5c4f;
  outline-offset: 2px;
}

/* Simple fade-in for above-the-fold hero content */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    animation: fadeIn 0.5s ease-out;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Prevent layout shift from sticky mobile call bar overlapping footer content */
@media (max-width: 639px) {
  body {
    padding-bottom: 56px;
  }
  body.no-sticky-cta {
    padding-bottom: 0;
  }
}

/* Basic prose defaults for legal pages using the `prose` utility class
   (Tailwind CDN doesn't bundle the typography plugin, so we hand-roll the
   handful of rules our legal pages rely on). */
.prose h2 { margin-top: 1.75rem; margin-bottom: 0.75rem; }
.prose p { margin-bottom: 1rem; line-height: 1.75; }
.prose ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
