/* NenoBooks — beyond Tailwind CDN (focus, reduced motion, print) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: #fff;
  color: #0f172a;
  border-radius: 0.5rem;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.15);
  border: 1px solid #e8e8e3;
  overflow: visible;
}

:root {
  --focus: #ff6b47;
}

*:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

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

.faq-answer.is-open {
  display: block;
}

.faq-icon.is-open {
  transform: rotate(180deg);
}

.stat-count {
  font-variant-numeric: tabular-nums;
}

.testimonial-rail {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.testimonial-rail > article {
  scroll-snap-align: start;
}

/* Checklist-style lists */
.list-check {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.list-check li {
  position: relative;
  padding-left: 1.65rem;
  margin-bottom: 0.65rem;
  color: #5b6470;
}
.list-check li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #ff6b47;
  font-weight: 700;
}

/* Placeholder blocks (replaces React ImagePlaceholder) */
.image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem;
  border: 1px dashed #e8e8e3;
  border-radius: 1rem;
  background: #fff;
  color: #5b6470;
  font-size: 0.875rem;
  line-height: 1.4;
}
