/* v10-perfection-v20260514a.css — 2026-05-14
 *
 * 2026-05-14 audit fix:
 *   - Defect 5: removed the `display: none` rules for sections that have
 *     now been deleted from the index.html DOM entirely. The corresponding
 *     dead HTML was emitting unnecessary observers and parse cost; pruning
 *     it server-side is the correct fix.
 *
 *     Sections deleted from index.html:
 *       .brand-reveal, .hero.hero-cinematic (legacy), .revenue-strip,
 *       #dr-section-newsletter, #dr-section-afm, #dr-section-library,
 *       #dr-section-audiences, #dr-section-quotes, .brand-strip
 *
 *     v10-perfection.js still injects: social proof, product preview, FAQ,
 *     footer email signup. Those remain functional.
 */

/* ============================================================
   0. NAV OVERRIDES
   ============================================================ */
nav .links a[href="/amazon/"] { display: block !important; }

/* ============================================================
   1. FOCUS INDICATORS
   ============================================================ */
*:focus-visible {
  outline: 2px solid var(--dr-clay, #c9613f);
  outline-offset: 3px;
  border-radius: 4px;
}
*:focus:not(:focus-visible) {
  outline: none;
}
.skip-to-content:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 99999;
  background: var(--dr-clay, #c9613f);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

/* ============================================================
   2. PREFERS-REDUCED-MOTION
   ============================================================ */
@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;
  }
  .aurora-stage,
  .dr-hero-canvas-wrap,
  [data-aurora] {
    display: none !important;
  }
  [data-reveal], [data-dr-reveal], [data-reveal-stagger] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   3. (removed) Section display:none rules — sections now deleted
   from index.html. See header comment.
   ============================================================ */

/* ============================================================
   4. SOCIAL PROOF SECTION (injected by v10-perfection.js)
   ============================================================ */
.dr-social-proof {
  padding: 48px 24px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.dr-social-proof h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 24px;
  margin: 0 0 32px;
  color: var(--ds-ink, #14140e);
}
[data-theme="dark"] .dr-social-proof h2 { color: #f0ebe4; }

.dr-proof-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 0 0 36px;
  flex-wrap: wrap;
}
.dr-proof-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.dr-proof-stat .num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--dr-clay, #c9613f);
  line-height: 1;
}
.dr-proof-stat .label {
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-size: 13px;
  color: var(--ds-ink-soft, #8a8478);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.dr-testimonials {
  display: grid;
  gap: 20px;
  max-width: 640px;
  margin: 0 auto;
}
.dr-testimonial {
  background: var(--ds-bg, #faf8f4);
  border: 1px solid var(--ds-rule, #e8e1d2);
  border-radius: 12px;
  padding: 24px;
  text-align: left;
}
[data-theme="dark"] .dr-testimonial {
  background: #1f1d19;
  border-color: #3a3630;
}
.dr-testimonial blockquote {
  margin: 0;
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ds-ink, #14140e);
  font-style: italic;
}
[data-theme="dark"] .dr-testimonial blockquote { color: #f0ebe4; }
.dr-testimonial cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: 13px;
  color: var(--ds-ink-soft, #8a8478);
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
}

/* ============================================================
   5. PRODUCT PREVIEW
   ============================================================ */
.dr-product-preview {
  padding: 48px 24px;
  max-width: 800px;
  margin: 0 auto;
}
.dr-product-preview h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 24px;
  text-align: center;
  margin: 0 0 32px;
  color: var(--ds-ink, #14140e);
}
[data-theme="dark"] .dr-product-preview h2 { color: #f0ebe4; }

.dr-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.dr-preview-card {
  background: var(--ds-bg, #faf8f4);
  border: 1px solid var(--ds-rule, #e8e1d2);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
}
[data-theme="dark"] .dr-preview-card {
  background: #1f1d19;
  border-color: #3a3630;
}
.dr-preview-card .icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.dr-preview-card h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 16px;
  margin: 0 0 8px;
  color: var(--ds-ink, #14140e);
}
[data-theme="dark"] .dr-preview-card h3 { color: #f0ebe4; }
.dr-preview-card p {
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ds-ink-soft, #8a8478);
  margin: 0;
}

/* ============================================================
   6. STANDARDIZED FOOTER
   ============================================================ */
footer.minimal {
  background: var(--ds-bg-alt, #f4f0ea);
  border-top: 1px solid var(--ds-rule, #e8e1d2);
  padding: 40px 24px 32px;
}
[data-theme="dark"] footer.minimal {
  background: #161411;
  border-top-color: #2a2722;
}
footer.minimal .inner {
  max-width: 720px;
  margin: 0 auto;
}
footer.minimal .inner > div:first-child {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 14px;
  color: var(--ds-ink-soft, #8a8478);
  margin-bottom: 16px;
}
footer.minimal nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
footer.minimal nav a {
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-size: 13px;
  color: var(--ds-ink-soft, #8a8478);
  text-decoration: none;
}
footer.minimal nav a:hover {
  color: var(--dr-clay, #c9613f);
}

.footer-signup {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--ds-rule, #e8e1d2);
}
[data-theme="dark"] .footer-signup {
  border-top-color: #2a2722;
}
.footer-signup h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 16px;
  margin: 0 0 8px;
  color: var(--ds-ink, #14140e);
}
[data-theme="dark"] .footer-signup h4 { color: #f0ebe4; }
.footer-signup p {
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-size: 13px;
  color: var(--ds-ink-soft, #8a8478);
  margin: 0 0 12px;
}
.footer-signup form {
  display: flex;
  gap: 8px;
  max-width: 400px;
}
.footer-signup input[type="email"] {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--ds-rule, #e8e1d2);
  border-radius: 6px;
  font-size: 14px;
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  background: var(--ds-bg, #fff);
  color: var(--ds-ink, #14140e);
}
[data-theme="dark"] .footer-signup input[type="email"] {
  background: #2a2722;
  border-color: #3a3630;
  color: #f0ebe4;
}
.footer-signup button {
  padding: 10px 18px;
  background: var(--dr-clay, #c9613f);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

/* ============================================================
   7. HERO CLEANUP
   ============================================================ */
.section-eyebrow .num { display: none; }
.hpc-pullquote figcaption { color: var(--ds-ink-soft, #8a8478) !important; }

/* ============================================================
   8. FAQ SECTION (injected by v10-perfection.js)
   ============================================================ */
.dr-faq {
  padding: 48px 24px;
  max-width: 680px;
  margin: 0 auto;
}
.dr-faq h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 24px;
  text-align: center;
  margin: 0 0 32px;
  color: var(--ds-ink, #14140e);
}
[data-theme="dark"] .dr-faq h2 { color: #f0ebe4; }

.dr-faq-item {
  border-bottom: 1px solid var(--ds-rule, #e8e1d2);
  padding: 20px 0;
}
[data-theme="dark"] .dr-faq-item { border-bottom-color: #2a2722; }
.dr-faq-item:first-of-type { border-top: 1px solid var(--ds-rule, #e8e1d2); }
[data-theme="dark"] .dr-faq-item:first-of-type { border-top-color: #2a2722; }

.dr-faq-item summary {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--ds-ink, #14140e);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
[data-theme="dark"] .dr-faq-item summary { color: #f0ebe4; }
.dr-faq-item summary::after {
  content: '+';
  font-size: 22px;
  color: var(--dr-clay, #c9613f);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.dr-faq-item[open] summary::after {
  content: '\2212';
}
.dr-faq-item summary::-webkit-details-marker { display: none; }

.dr-faq-answer {
  font-family: 'Atkinson Hyperlegible', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ds-ink-soft, #8a8478);
  margin: 12px 0 0;
  padding-right: 32px;
}

/* ============================================================
   9. MOBILE REFINEMENTS
   ============================================================ */
@media (max-width: 600px) {
  .dr-proof-stats { gap: 24px; }
  .dr-proof-stat .num { font-size: 28px; }
  .dr-preview-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .dr-preview-card { padding: 16px 12px; }
  .footer-signup form { flex-direction: column; }
  .dr-faq-item summary { font-size: 15px; }
}

/* ============================================================
   10. PRINT STYLES
   ============================================================ */
@media print {
  .dr-urgency-strip,
  .home-sticky-buy,
  .dr-crisis-float,
  .spiraling-badge-link,
  .dr-exit-popup-overlay,
  .dr-canon-nav,
  .dr-theme-toggle,
  .aurora-stage,
  .dr-hero-canvas-wrap { display: none !important; }
}
