/* ═══════════════════════════════════════════════════════════════
   dd-theme.css — Rooted Light: shared design layer for Daddy Doula
   Loaded on every page. Safe, additive refinements only:
   tokens, focus states, selection, motion preferences, skeletons.
   ═══════════════════════════════════════════════════════════════ */
:root {
  --dd-green-deep: #1A3409;
  --dd-green:      #2D5016;
  --dd-green-l:    #4A7C2B;
  --dd-gold:       #E8A838;
  --dd-gold-text:  #B0791A;   /* AA-contrast gold for text on light backgrounds */
  --dd-cream:      #F5F1E4;
  --dd-radius:     16px;
  --dd-shadow:     0 6px 24px rgba(26, 52, 9, .10);
}

/* Consistent, visible keyboard focus everywhere */
:focus-visible {
  outline: 3px solid var(--dd-gold) !important;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Brand text selection */
::selection { background: var(--dd-gold); color: var(--dd-green-deep); }

html { scroll-behavior: smooth; }

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Loading skeleton — quiet shimmer while paid content arrives */
.dd-skel {
  position: relative;
  overflow: hidden;
  min-height: 140px;
  background: linear-gradient(180deg, rgba(45, 80, 22, .05), rgba(45, 80, 22, .02));
  border-radius: 12px;
}
.dd-skel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent);
  animation: ddShimmer 1.3s infinite;
}
@keyframes ddShimmer {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}

/* Course quick navigation (hero): resume + stage anchors */
.dd-quicknav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin-top: 1rem;
}
.dd-resume-btn {
  background: linear-gradient(135deg, var(--dd-gold), #C68E20);
  color: var(--dd-green-deep);
  border: none;
  border-radius: 50px;
  padding: .6rem 1.4rem;
  font-family: inherit;
  font-size: .9rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(232, 168, 56, .35);
  transition: transform .15s, filter .15s;
}
.dd-resume-btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.dd-stage-chip {
  background: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50px;
  padding: .55rem 1.1rem;
  font-family: inherit;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.dd-stage-chip:hover { background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .55); }
