/* ============================================================
   help-cozy.css — cozy repaint for the Help & Tips page
   Pairs with manishelf-cozy.css (global palette + topbar)
   ============================================================ */

/* ---------- Contact note ---------- */
body.help-page .help-contact-note {
  font-family: 'Nunito', sans-serif !important;
  text-align: center !important;
  color: var(--ink-soft, #4a3a62) !important;
  font-size: 0.95rem !important;
  margin: 48px auto 24px !important;
  max-width: 560px !important;
}
body.help-page .help-contact-note a {
  color: var(--ember, #c9765a) !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  text-decoration-thickness: 1px !important;
}
body.help-page .help-contact-note a:hover {
  color: var(--plum, #6b4a8a) !important;
}
@media (prefers-color-scheme: dark) {
  body.help-page .help-contact-note { color: var(--ink-soft, #d8c9ec) !important; }
  body.help-page .help-contact-note a { color: var(--ember, #e89878) !important; }
  body.help-page .help-contact-note a:hover { color: var(--plum-dusk, #a98ec9) !important; }
}

/* ---------- Hero ---------- */

body.help-page .help-hero {
  padding: clamp(32px, 5vh, 56px) 0 0 !important;
  border-bottom: 0 !important;
  margin-bottom: 14px !important;
  background: transparent !important;
  text-align: center !important;
}

body.help-page .help-hero-title {
  color: var(--ink, #2a1f3d) !important;
  font-size: clamp(2.4rem, 5vw, 4rem) !important;
  line-height: 1.05 !important;
  margin: 0 0 14px !important;
  text-align: center !important;
}
body.help-page .help-hero-title em {
  font-style: normal !important;
  color: var(--ember, #c9765a) !important;
}
body.help-page .help-hero-sub {
  font-family: 'Nunito', sans-serif !important;
  color: var(--ink-soft, #4a3a62) !important;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem) !important;
  max-width: 52ch !important;
  margin: 0 auto !important;
  text-align: center !important;
}

/* ---------- Section rule ---------- */

body.help-page .mani-section-rule {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 0 0 10px !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}
body.help-page .mani-section-rule .rule-num {
  color: var(--ember, #c9765a) !important;
  font-weight: 700 !important;
}
body.help-page .mani-section-rule .rule-label {
  color: var(--ink-soft, #4a3a62) !important;
  font-weight: 500 !important;
}
body.help-page .mani-section-rule .rule-line {
  flex: 1 !important;
  height: 1px !important;
  background-image: linear-gradient(to right,
    rgba(107, 74, 138, 0.30) 40%,
    transparent 40%) !important;
  background-size: 8px 1px !important;
}

body.help-page .help-section {
  padding: 0 !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
}

/* ---------- Tip rows ---------- */

body.help-page .help-tips {
  display: flex !important;
  flex-direction: column !important;
  gap: clamp(36px, 5vh, 64px) !important;
  padding: 14px 0 clamp(20px, 3vh, 28px) !important;
}

body.help-page .tip-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: clamp(24px, 3vw, 56px) !important;
  align-items: center !important;
}
body.help-page .tip-row.reverse .tip-text { order: 2; }
body.help-page .tip-row.reverse .tip-media { order: 1; }

body.help-page .tip-eyebrow {
  display: inline-block !important;
  color: var(--ember, #c9765a) !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  margin-bottom: 10px !important;
}

body.help-page .tip-text h3,
body.help-page .tip-text h3 em {
  color: var(--ink, #2a1f3d) !important;
  font-style: normal !important;
  font-size: clamp(1.8rem, 3vw, 2.4rem) !important;
  line-height: 1.1 !important;
  margin: 0 0 14px !important;
}

body.help-page .tip-text ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  color: var(--ink, #2a1f3d) !important;
}
body.help-page .tip-text li {
  padding: 8px 0 8px 22px !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  color: var(--ink, #2a1f3d) !important;
  position: relative !important;
  border-bottom: 1px dashed rgba(107, 74, 138, 0.14) !important;
}
body.help-page .tip-text li:last-child { border-bottom: 0 !important; }
body.help-page .tip-text li::before {
  content: "•" !important;
  position: absolute !important;
  left: 4px !important;
  top: 8px !important;
  color: var(--ember, #c9765a) !important;
  font-size: 1.2rem !important;
  line-height: 1 !important;
}
body.help-page .tip-text li strong {
  color: var(--ember, #c9765a) !important;
  font-weight: 700 !important;
}

body.help-page .tip-text code {
  background: rgba(107, 74, 138, 0.08) !important;
  color: var(--plum, #6b4a8a) !important;
  font-family: 'Nunito', sans-serif !important;
  padding: 1px 6px !important;
  border-radius: 4px !important;
  font-size: 0.92em !important;
}

/* ---------- Tip media (video preview) ---------- */

body.help-page .tip-media {
  display: block !important;
}
body.help-page .tip-media .hover-video-wrap {
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 10px 28px rgba(42, 31, 61, 0.18) !important;
  border: 1px solid rgba(107, 74, 138, 0.12) !important;
  position: relative !important;
  aspect-ratio: 4 / 3 !important;
}
body.help-page .tip-media video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
body.help-page .tip-media .hover-play-hint {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  background: rgba(42, 31, 61, 0.35) !important;
  color: var(--cream, #f3ecdd) !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 18px !important;
  backdrop-filter: blur(3px) !important;
  pointer-events: none !important;
  opacity: 0.92 !important;
  transition: opacity 0.2s ease !important;
}
body.help-page .tip-media .hover-video-wrap:hover .hover-play-hint {
  opacity: 0 !important;
}

/* ---------- Mobile stack ---------- */

@media (max-width: 820px) {
  body.help-page .tip-row,
  body.help-page .tip-row.reverse {
    grid-template-columns: 1fr !important;
  }
  body.help-page .tip-row.reverse .tip-text,
  body.help-page .tip-row.reverse .tip-media {
    order: 0;
  }
}

/* ============================================================
   DARK MODE
   ============================================================ */

@media (prefers-color-scheme: dark) {
  body.help-page .help-hero {
    border-bottom: 0 !important;
  }
  body.help-page .help-hero-title { color: var(--ink, #f3ecdd) !important; }
  body.help-page .help-hero-title em { color: var(--ember, #e89878) !important; }
  body.help-page .help-hero-sub { color: var(--ink-soft, #d8c9ec) !important; }

  body.help-page .mani-section-rule .rule-num { color: var(--ember, #e89878) !important; }
  body.help-page .mani-section-rule .rule-label { color: var(--ink-soft, #d8c9ec) !important; }
  body.help-page .mani-section-rule .rule-line {
    background-image: linear-gradient(to right, rgba(201, 184, 221, 0.35) 40%, transparent 40%) !important;
  }

  body.help-page .tip-eyebrow { color: var(--ember, #e89878) !important; }

  body.help-page .tip-text h3,
  body.help-page .tip-text h3 em { color: var(--ink, #f3ecdd) !important; }
  body.help-page .tip-text li,
  body.help-page .tip-text ul { color: var(--ink, #f3ecdd) !important; }
  body.help-page .tip-text li::before { color: var(--ember, #e89878) !important; }
  body.help-page .tip-text li strong { color: var(--ember, #e89878) !important; }
  body.help-page .tip-text li { border-bottom-color: rgba(201, 184, 221, 0.14) !important; }
  body.help-page .tip-text code {
    background: rgba(201, 184, 221, 0.10) !important;
    color: var(--plum-dusk, #a98ec9) !important;
  }
  body.help-page .tip-media .hover-video-wrap {
    border-color: rgba(201, 184, 221, 0.14) !important;
    box-shadow:
      0 1px 0 rgba(201, 184, 221, 0.06) inset,
      0 10px 28px rgba(0, 0, 0, 0.55) !important;
  }
}
