/* Free Reads standalone page — below-the-fold styles
 * Above-the-fold critical styles are inlined in free-reads.html <style>.
 */

/* Page transitions */
.fr-hero {
  animation: fr-fade-in 0.6s ease-out;
}

.fr-form-section {
  animation: fr-fade-in 0.4s ease-out;
}

.fr-success {
  animation: fr-fade-in 0.4s ease-out;
}

@keyframes fr-fade-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Genre chip selected state */
.fr-genre-chip.selected {
  color: var(--bg, #FBF8F1);
  background: var(--accent, #6F5142);
  border-color: var(--accent, #6F5142);
}

/* Format button selected state */
.fr-format-btn.selected {
  color: var(--bg, #FBF8F1);
  background: var(--accent, #6F5142);
  border-color: var(--accent, #6F5142);
}

/* Focus visible for accessibility */
.fr-input:focus,
.fr-genre-chip:focus,
.fr-format-btn:focus,
.fr-submit-btn:focus,
.fr-cta-btn:focus {
  outline: 2px solid var(--accent, #6F5142);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .fr-hero, .fr-form-section, .fr-success { display: none !important; }
  .fr-footer-note { border: none; padding: 0; }
}
