/* v10-perfection — 2026-05-11 — Round 2 critique fixes: accessibility, declutter, trust */

/* ============================================================
   0. NAV OVERRIDES — unhide links suppressed by mega CSS
   ============================================================ */
nav .links a[href="/amazon/"] { display: block !important; }

/* ============================================================
   1. FOCUS INDICATORS (WCAG 2.4.7 — visible focus on everything)
   ============================================================ */
*:focus-visible {
  outline: 2px solid var(--dr-clay, #c9613f);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Reset outline on mouse clicks — keyboard only */
*:focus:not(:focus-visible) {
  outline: none;
}
/* Skip-to-content visible on focus */
.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 — kill all animations
   ============================================================ */
@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. HOMEPAGE DECLUTTER — hide sections 01-06 to get to 5 core
   Kept: Hero, Social Proof (new), What's Inside (Section 02 tools),
         FAQ (new), Final CTA (sticky bar)
   Hidden: Brand Reveal, Legacy Hero, Section 00 (duplicate CTA),
           Section 01 (newsletter — moved to footer),
           Section 03 (AFM taxonomy — too much for homepage),
           Section 04 (Library — accessible via nav),
           Section 05 (Audiences — too niche for homepage),
           Section 06 (Quotes — no real social proof),
           Brand Strip (redundant)
   ============================================================ */
/* Hide the brand reveal — cool but wastes prime real estate */
.brand-reveal { display: none; }

/* Hide legacy cinematic hero (already hidden but be explicit) */
.hero.hero-cinematic { display: none !important; }

/* Hide Section 00 — duplicate CTA, hero already has it */
.revenue-strip { display: none; }

/* Hide Section 01 newsletter — moved email capture to footer */
#dr-section-newsletter { display: none; }

/* Hide Section 03 AFM taxonomy — it's an entire page unto itself */
#dr-section-afm { display: none; }

/* Keep Section 02 tools — they're the "What's Inside" proof */

/* Hide Section 04 Library — accessible via nav */
#dr-section-library { display: none; }

/* Hide Section 05 Audiences — too niche for homepage */
#dr-section-audiences { display: none; }

/* Hide Section 06 Quotes — replaced with real social proof */
#dr-section-quotes { display: none; }

/* Hide Brand Strip — redundant with footer */
.brand-strip { display: none; }

/* ============================================================
   4. SOCIAL PROOF SECTION (new — injected via 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 / MOCKUP SECTION
   ============================================================ */
.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 email signup (moved from Section 01) */
.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 — tighter, less noise
   ============================================================ */
/* Remove numbered section labels — they add clutter */
.section-eyebrow .num { display: none; }

/* Tighten hero product card pullquote figcaption color */
.hpc-pullquote figcaption { color: var(--ds-ink-soft, #8a8478) !important; }

/* ============================================================
   8. FAQ SECTION (injected via JS after tools)
   ============================================================ */
.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 — clean output
   ============================================================ */
@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; }
}
