/* ================================================================
   Kokoro Academy — Membership pages  (Core / Guided / Mentorship)

   Lifted verbatim from the three hand-built pages that used to live in
   Elementor. All four of their inline style blocks were byte-identical
   across the three pages, so this is the single copy, in source order.
   Markup: template-parts/marketing/membership-*.php
   Copy:   inc/membership-content.php
   Enqueued by inc/marketing-pages.php on those three pages only.

   Do not reformat: the selectors below match the imported markup
   character for character.
   ================================================================ */

/* ──────────────────────────────────────────────────────────────
   Elementor container reproduction.
   Before this import these pages' content lived inside a boxed
   Elementor .e-con container: max-width min(100%, 1320px),
   centred, zero padding (kit post-6922 + custom-frontend.min.css).
   Keeping the cap makes the import pixel-identical on wide screens —
   without it the section shells bleed edge-to-edge above 1320px.
   Safe to delete if full-bleed sections are ever wanted.
   ────────────────────────────────────────────────────────────── */
.kka-marketing { max-width: 1320px; margin-left: auto; margin-right: auto; }

/* ────────────────────────────────────────────────────────────────
   SECTION 1 — Expandable learning journey cards  ·  #fh-expandable-cards-v8
   ──────────────────────────────────────────────────────────────── */

/* ── CSS Custom Properties ─────────────────────────────────────── */
#fh-expandable-cards-v8 {
  --p:       #6d28d9;
  --p-light: #8b5cf6;
  --p-glow:  rgba(109,40,217,.18);
  --p-bg:    #f5f3ff;
  --text:    #1e1b4b;
  --muted:   #64748b;
  --border:  #ddd6fe;
  --white:   #ffffff;

  font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  padding: 80px 0 60px;
  background: var(--white);
}

#fh-expandable-cards-v8 *,
#fh-expandable-cards-v8 *::before,
#fh-expandable-cards-v8 *::after { box-sizing: border-box; }

#fh-expandable-cards-v8 .container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ────────────────────────────────────────────────────── */
#fh-expandable-cards-v8 .header-section {
  text-align: center;
  margin-bottom: 52px;
}

#fh-expandable-cards-v8 .header-section .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--p);
  background: var(--p-bg);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

#fh-expandable-cards-v8 .header-section h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--text);
  margin: 0 0 14px;
  line-height: 1.2;
  letter-spacing: -.02em;
  cursor: default;
  transition: color 0.35s ease, text-shadow 0.35s ease, transform 0.35s ease;
}

#fh-expandable-cards-v8 .header-section:hover h2 {
  color: var(--p);
  text-shadow: 0 2px 28px rgba(109,40,217,.22), 0 0 60px rgba(109,40,217,.1);
  transform: scale(1.02);
}

#fh-expandable-cards-v8 .header-section p {
  font-size: 16px;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Grid ──────────────────────────────────────────────────────── */
#fh-expandable-cards-v8 .grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 14px;
  transition: grid-template-columns .55s cubic-bezier(.22,.9,.26,1);
}

#fh-expandable-cards-v8 .panels {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
  align-items: start;
  transition: grid-template-columns .55s cubic-bezier(.22,.9,.26,1);
}

/* Desktop expansion */
@media (min-width: 901px) {
  #fh-expandable-cards-v8 .grid.hover-1,
  #fh-expandable-cards-v8 .panels.hover-1 { grid-template-columns: 3fr .75fr .75fr .75fr; }
  #fh-expandable-cards-v8 .grid.hover-2,
  #fh-expandable-cards-v8 .panels.hover-2 { grid-template-columns: .75fr 3fr .75fr .75fr; }
  #fh-expandable-cards-v8 .grid.hover-3,
  #fh-expandable-cards-v8 .panels.hover-3 { grid-template-columns: .75fr .75fr 3fr .75fr; }
  #fh-expandable-cards-v8 .grid.hover-4,
  #fh-expandable-cards-v8 .panels.hover-4 { grid-template-columns: .75fr .75fr .75fr 3fr; }

  #fh-expandable-cards-v8 .card-wrap { display: contents; }
  #fh-expandable-cards-v8 .inline-panel { display: none; }
}

/* ── Card ──────────────────────────────────────────────────────── */
#fh-expandable-cards-v8 .card {
  position: relative;
  height: 460px;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  transition: box-shadow .35s;
}

#fh-expandable-cards-v8 .card:hover {
  box-shadow: 0 16px 48px rgba(109,40,217,.22);
}

#fh-expandable-cards-v8 img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.25,.46,.45,.94);
}

#fh-expandable-cards-v8 .card:hover img,
#fh-expandable-cards-v8 .card.touch-active img { transform: scale(1.1); }

#fh-expandable-cards-v8 .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15,5,40,.82) 0%,
    rgba(15,5,40,.38) 45%,
    transparent 100%
  );
}

#fh-expandable-cards-v8 .content {
  position: relative;
  z-index: 2;
  color: white;
  padding: 28px;
  width: 100%;
}

/* Step badge */
#fh-expandable-cards-v8 .step-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  padding: 4px 12px 4px 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.95);
  margin-bottom: 10px;
}

#fh-expandable-cards-v8 .step-badge .dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--p), var(--p-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: white;
}

#fh-expandable-cards-v8 .title {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Arrow button */
#fh-expandable-cards-v8 .arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(.3) rotate(-45deg);
  opacity: 0;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), opacity .3s;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}

#fh-expandable-cards-v8 .card:hover .arrow,
#fh-expandable-cards-v8 .card.touch-active .arrow {
  transform: scale(1) rotate(0deg);
  opacity: 1;
}

#fh-expandable-cards-v8 .arrow svg {
  width: 15px;
  height: 15px;
  stroke: var(--p);
  stroke-width: 2.5;
}

/* ── Desktop Panel ─────────────────────────────────────────────── */
#fh-expandable-cards-v8 .panel {
  max-height: 0;
  overflow: hidden;
  padding: 0 26px;
  border: 1px solid transparent;
  opacity: 0;
  pointer-events: none;
  transition: max-height .55s cubic-bezier(.22,.9,.26,1),
              opacity .45s ease,
              padding .45s ease,
              border-color .45s ease;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 8px 32px var(--p-glow);
  position: relative;
}

#fh-expandable-cards-v8 .panel::before {
  content: '';
  position: absolute;
  left: 0; top: 14px; bottom: 14px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(to bottom, var(--p), var(--p-light));
}

#fh-expandable-cards-v8 .panel.active {
  max-height: 500px;
  opacity: 1;
  pointer-events: auto;
  padding: 28px 26px;
  border-color: var(--border);
}

/* ── Feature Items ─────────────────────────────────────────────── */
#fh-expandable-cards-v8 .feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 13px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.55;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s ease, transform .4s ease;
}

#fh-expandable-cards-v8 .panel.active .feature,
#fh-expandable-cards-v8 .inline-panel.active .feature {
  opacity: 1;
  transform: translateY(0);
}

#fh-expandable-cards-v8 .panel.active .feature:nth-child(1),
#fh-expandable-cards-v8 .inline-panel.active .feature:nth-child(1) { transition-delay: .08s; }
#fh-expandable-cards-v8 .panel.active .feature:nth-child(2),
#fh-expandable-cards-v8 .inline-panel.active .feature:nth-child(2) { transition-delay: .15s; }
#fh-expandable-cards-v8 .panel.active .feature:nth-child(3),
#fh-expandable-cards-v8 .inline-panel.active .feature:nth-child(3) { transition-delay: .22s; }
#fh-expandable-cards-v8 .panel.active .feature:nth-child(4),
#fh-expandable-cards-v8 .inline-panel.active .feature:nth-child(4) { transition-delay: .22s; }
#fh-expandable-cards-v8 .panel.active .feature:nth-child(5),
#fh-expandable-cards-v8 .inline-panel.active .feature:nth-child(5) { transition-delay: .29s; }
#fh-expandable-cards-v8 .panel.active .feature:nth-child(6),
#fh-expandable-cards-v8 .inline-panel.active .feature:nth-child(6) { transition-delay: .34s; }

#fh-expandable-cards-v8 .feature:hover { transform: translateX(3px); }

#fh-expandable-cards-v8 .closing {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s ease, transform .4s ease;
}

#fh-expandable-cards-v8 .panel.active .closing,
#fh-expandable-cards-v8 .inline-panel.active .closing {
  opacity: 1;
  transform: translateY(0);
  transition-delay: .36s;
}

#fh-expandable-cards-v8 .icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--p), var(--p-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  font-weight: 800;
  margin-top: 1px;
}

/* ── Mobile ────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  #fh-expandable-cards-v8 { padding: 60px 0 40px; }

  #fh-expandable-cards-v8 .grid { grid-template-columns: 1fr; }
  #fh-expandable-cards-v8 .panels { display: none; }

  #fh-expandable-cards-v8 .card { height: 280px; }

  #fh-expandable-cards-v8 .card-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  #fh-expandable-cards-v8 .inline-panel {
    display: block;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 26px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 8px 24px var(--p-glow);
    position: relative;
    transition: max-height .4s ease, opacity .35s ease, padding .35s ease;
  }

  #fh-expandable-cards-v8 .inline-panel::before {
    content: '';
    position: absolute;
    left: 0; top: 14px; bottom: 14px;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: linear-gradient(to bottom, var(--p), var(--p-light));
  }

  #fh-expandable-cards-v8 .inline-panel.active {
    max-height: 340px;
    opacity: 1;
    padding: 22px 26px;
  }

  #fh-expandable-cards-v8 .inline-panel .feature {
    opacity: 0;
    transform: translateY(8px);
    transition: .4s;
  }
}

/* ────────────────────────────────────────────────────────────────
   SECTION 2 — Daily learning system  ·  #fh-daily-flow-v1
   ──────────────────────────────────────────────────────────────── */
/* ── Reset / Scope ── */
#fh-daily-flow-v1 *, #fh-daily-flow-v1 *::before, #fh-daily-flow-v1 *::after {
  box-sizing: border-box; margin: 0; padding: 0;
}
#fh-daily-flow-v1 {
  --p:        #6d28d9;
  --p-mid:    #7c3aed;
  --p-light:  #8b5cf6;
  --p-xlight: #ede9fe;
  --p-dark:   #1a1040;
  --text:     #1e1b4b;
  --muted:    #64748b;
  --border:   #ddd6fe;
  --white:    #ffffff;
  font-family: inherit;
}
#fh-daily-flow-v1 .dfc { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ── Shared typography ── */
#fh-daily-flow-v1 .df-eyebrow {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--p); background: var(--p-xlight);
  padding: 6px 16px; border-radius: 999px; margin-bottom: 12px;
}
#fh-daily-flow-v1 h2.df-h2 {
  font-size: clamp(26px, 4vw, 42px); font-weight: 800;
  color: var(--text); line-height: 1.18; margin-bottom: 14px;
  cursor: default;
  transition: color 0.35s ease, text-shadow 0.35s ease, transform 0.35s ease;
}
#fh-daily-flow-v1 h2.df-h2:hover {
  color: var(--p);
  text-shadow: 0 2px 28px rgba(109,40,217,.22), 0 0 60px rgba(109,40,217,.1);
  transform: scale(1.02);
}
#fh-daily-flow-v1 .df-band h2.df-h2 { color: var(--white); }
#fh-daily-flow-v1 .df-band h2.df-h2:hover {
  color: var(--p-light);
  text-shadow: 0 2px 28px rgba(139,92,246,.4), 0 0 60px rgba(139,92,246,.2);
}
#fh-daily-flow-v1 h2.df-h2 em { font-style: normal; color: var(--p); }
#fh-daily-flow-v1 .df-sub {
  font-size: 16px; color: var(--muted); max-width: 560px;
  line-height: 1.65; margin: 0 auto;
}

/* ════════════════════════════════
   TOP — header + stats + timeline
   ════════════════════════════════ */
#fh-daily-flow-v1 .df-top {
  background: linear-gradient(160deg, #f5f3ff 0%, #fdfcff 100%);
  padding: 90px 0 80px;
  text-align: center;
}
#fh-daily-flow-v1 .df-stats {
  display: flex; justify-content: center; gap: 10px;
  flex-wrap: wrap; margin: 36px 0 60px;
}
#fh-daily-flow-v1 .df-stat {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 100px; padding: 8px 20px;
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--text);
  box-shadow: 0 1px 4px rgba(109,40,217,.07);
}
#fh-daily-flow-v1 .df-stat svg { flex-shrink: 0; }

/* Day timeline */
#fh-daily-flow-v1 .df-timeline {
  position: relative; display: grid;
  grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: 0;
}
#fh-daily-flow-v1 .df-timeline::before {
  content: '';
  position: absolute; top: 36px; left: calc(12.5% + 12px); right: calc(12.5% + 12px);
  height: 2px;
  background: linear-gradient(90deg, var(--p-xlight), var(--p-light), var(--p-xlight));
}
#fh-daily-flow-v1 .df-slot {
  display: flex; flex-direction: column; align-items: center;
  gap: 14px;
}
#fh-daily-flow-v1 .df-slot-dot {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
  box-shadow: 0 2px 12px rgba(109,40,217,.12);
  flex-shrink: 0;
}
#fh-daily-flow-v1 .df-slot-dot svg { width: 28px; height: 28px; }
#fh-daily-flow-v1 .df-slot-time {
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--p-light);
}
#fh-daily-flow-v1 .df-slot-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px 16px;
  text-align: left; width: 100%;
  box-shadow: 0 2px 10px rgba(109,40,217,.06);
  transition: box-shadow .2s, transform .2s;
}
#fh-daily-flow-v1 .df-slot-card:hover {
  box-shadow: 0 8px 28px rgba(109,40,217,.13);
  transform: translateY(-3px);
}
#fh-daily-flow-v1 .df-slot-card h3 {
  font-size: 14px; font-weight: 700; color: var(--text);
  margin-bottom: 6px;
}
#fh-daily-flow-v1 .df-slot-card p {
  font-size: 12.5px; color: var(--muted); line-height: 1.5;
}
#fh-daily-flow-v1 .df-slot-card .df-pill-mini {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  border-radius: 100px; padding: 3px 9px; margin-bottom: 8px;
}
.df-pill-mini.pm-purple { background: #ede9fe; color: #6d28d9; }
.df-pill-mini.pm-blue   { background: #dbeafe; color: #1d4ed8; }
.df-pill-mini.pm-green  { background: #d1fae5; color: #065f46; }

/* ═════════════════════════════
   BAND — adaptive loop (dark)
   ═════════════════════════════ */
#fh-daily-flow-v1 .df-band {
  background: linear-gradient(135deg, #1a1040 0%, #2d1b69 55%, #3b0f8c 100%);
  padding: 80px 0;
}
#fh-daily-flow-v1 .df-band .df-eyebrow { color: #c4b5fd; background: rgba(139,92,246,.18); }
#fh-daily-flow-v1 .df-band h2.df-h2    { color: var(--white); }
#fh-daily-flow-v1 .df-band h2.df-h2 em { color: var(--p-light); }
#fh-daily-flow-v1 .df-band .df-sub     { color: rgba(255,255,255,.6); }
#fh-daily-flow-v1 .df-band-header      { text-align: center; margin-bottom: 56px; }

#fh-daily-flow-v1 .df-loop {
  display: flex; align-items: stretch; gap: 0;
  position: relative;
}
#fh-daily-flow-v1 .df-loop-step {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 8px; position: relative;
}
#fh-daily-flow-v1 .df-loop-step:not(:last-child)::after {
  content: '';
  position: absolute; top: 28px; right: -1px;
  width: 2px; height: 56px;
  background: rgba(139,92,246,.35);
}
#fh-daily-flow-v1 .df-loop-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(139,92,246,.2);
  border: 1.5px solid rgba(139,92,246,.5);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; flex-shrink: 0;
}
#fh-daily-flow-v1 .df-loop-icon svg { width: 22px; height: 22px; }
#fh-daily-flow-v1 .df-loop-num {
  font-size: 10px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--p-light);
  margin-bottom: 6px;
}
#fh-daily-flow-v1 .df-loop-title {
  font-size: 14px; font-weight: 700; color: var(--white);
  margin-bottom: 8px; line-height: 1.3;
}
#fh-daily-flow-v1 .df-loop-desc {
  font-size: 12px; color: rgba(255,255,255,.55); line-height: 1.55;
}
#fh-daily-flow-v1 .df-loop-arrow {
  position: absolute; top: 26px; right: -13px;
  color: rgba(139,92,246,.6); font-size: 20px; z-index: 2;
  line-height: 1;
}

/* ════════════════════════════
   EXERCISES — drill type cards
   ════════════════════════════ */
#fh-daily-flow-v1 .df-exercises {
  background: var(--white);
  padding: 80px 0;
}
#fh-daily-flow-v1 .df-exercises-header { text-align: center; margin-bottom: 48px; }
#fh-daily-flow-v1 .df-ex-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
#fh-daily-flow-v1 .df-ex-card {
  border: 1px solid var(--border); border-radius: 16px;
  padding: 28px 22px; display: flex; flex-direction: column; gap: 12px;
  transition: box-shadow .2s, transform .2s;
}
#fh-daily-flow-v1 .df-ex-card:hover {
  box-shadow: 0 8px 28px rgba(109,40,217,.13);
  transform: translateY(-3px);
}
#fh-daily-flow-v1 .df-ex-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
#fh-daily-flow-v1 .df-ex-icon svg { width: 22px; height: 22px; }
#fh-daily-flow-v1 .df-ex-label {
  font-size: 10px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase;
}
#fh-daily-flow-v1 .df-ex-title {
  font-size: 16px; font-weight: 700; color: var(--text);
}
#fh-daily-flow-v1 .df-ex-desc {
  font-size: 13px; color: var(--muted); line-height: 1.55; flex: 1;
}
#fh-daily-flow-v1 .df-ex-samples {
  display: flex; flex-wrap: wrap; gap: 6px;
}
#fh-daily-flow-v1 .df-ex-sample {
  font-size: 11px; border-radius: 6px;
  padding: 4px 9px; font-weight: 500;
}

/* card colour variants */
.df-ex-c-purple .df-ex-icon { background: #ede9fe; }
.df-ex-c-purple .df-ex-label { color: #6d28d9; }
.df-ex-c-purple .df-ex-icon svg { color: #7c3aed; }
.df-ex-c-purple .df-ex-sample { background: #ede9fe; color: #5b21b6; }

.df-ex-c-blue .df-ex-icon { background: #dbeafe; }
.df-ex-c-blue .df-ex-label { color: #1d4ed8; }
.df-ex-c-blue .df-ex-icon svg { color: #2563eb; }
.df-ex-c-blue .df-ex-sample { background: #dbeafe; color: #1e40af; }

.df-ex-c-emerald .df-ex-icon { background: #d1fae5; }
.df-ex-c-emerald .df-ex-label { color: #065f46; }
.df-ex-c-emerald .df-ex-icon svg { color: #059669; }
.df-ex-c-emerald .df-ex-sample { background: #d1fae5; color: #047857; }

.df-ex-c-amber .df-ex-icon { background: #fef3c7; }
.df-ex-c-amber .df-ex-label { color: #92400e; }
.df-ex-c-amber .df-ex-icon svg { color: #d97706; }
.df-ex-c-amber .df-ex-sample { background: #fef3c7; color: #b45309; }

/* ═══════════════════════
   TOPICS — pill grid
   ═══════════════════════ */
#fh-daily-flow-v1 .df-topics {
  background: #f8f7ff;
  padding: 72px 0 80px;
}
#fh-daily-flow-v1 .df-topics-header { text-align: center; margin-bottom: 40px; }
#fh-daily-flow-v1 .df-pill-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
}
#fh-daily-flow-v1 .df-topic-pill {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 18px; border-radius: 100px;
  font-size: 13px; font-weight: 600; cursor: default;
  transition: transform .15s, box-shadow .15s;
}
#fh-daily-flow-v1 .df-topic-pill:hover {
  transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,.1);
}
#fh-daily-flow-v1 .df-topic-pill svg { width: 14px; height: 14px; flex-shrink: 0; }
/* pill colour variants */
.tp-purple  { background: #ede9fe; color: #5b21b6; }
.tp-sky     { background: #e0f2fe; color: #0369a1; }
.tp-green   { background: #dcfce7; color: #166534; }
.tp-amber   { background: #fef9c3; color: #854d0e; }
.tp-rose    { background: #ffe4e6; color: #9f1239; }
.tp-indigo  { background: #e0e7ff; color: #3730a3; }

/* ═══════════════
   Responsive
   ═══════════════ */
@media (max-width: 900px) {
  #fh-daily-flow-v1 .df-loop { flex-wrap: wrap; gap: 24px; }
  #fh-daily-flow-v1 .df-loop-step { flex: 0 0 calc(50% - 12px); }
  #fh-daily-flow-v1 .df-loop-step:not(:last-child)::after { display: none; }
  #fh-daily-flow-v1 .df-loop-arrow { display: none; }
  #fh-daily-flow-v1 .df-ex-grid { grid-template-columns: repeat(2, 1fr); }
  #fh-daily-flow-v1 .df-timeline { grid-template-columns: 1fr; gap: 32px; }
  #fh-daily-flow-v1 .df-timeline::before { display: none; }
}
@media (max-width: 540px) {
  #fh-daily-flow-v1 .df-loop-step { flex: 0 0 100%; }
  #fh-daily-flow-v1 .df-ex-grid { grid-template-columns: 1fr; }
}
/* ────────────────────────────────────────────────────────────────
   SECTION 3 — FAQ  ·  #fh-faq-section
   ──────────────────────────────────────────────────────────────── */

  #fh-faq-section {
    --p:       #6d28d9;
    --p-light: #8b5cf6;
    --p-xlight:#ede9fe;
    --p-glow:  rgba(109,40,217,.1);
    --text:    #1e1b4b;
    --muted:   #64748b;
    --border:  #e4e4e7;
    --white:   #ffffff;

    font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    padding: 80px 24px;
    background: var(--white);
  }

  #fh-faq-section *, #fh-faq-section *::before, #fh-faq-section *::after {
    box-sizing: border-box;
  }

  #fh-faq-section .container {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }

  /* Header */
  #fh-faq-section .faq-header {
    text-align: center;
    margin-bottom: 52px;
  }

  #fh-faq-section .faq-header .eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--p);
    background: var(--p-xlight);
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 16px;
  }

  #fh-faq-section .faq-header h2 {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
    color: var(--text);
    margin: 0 0 14px;
    letter-spacing: -.02em;
    cursor: default;
    transition: color 0.35s ease, text-shadow 0.35s ease, transform 0.35s ease;
  }
  #fh-faq-section .faq-header:hover h2 {
    color: var(--p);
    text-shadow: 0 2px 28px rgba(109,40,217,.22), 0 0 60px rgba(109,40,217,.1);
    transform: scale(1.02);
  }

  #fh-faq-section .faq-header p {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
  }

  /* FAQ list */
  #fh-faq-section .faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,.05);
  }

  #fh-faq-section .faq-item {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background .2s;
  }

  #fh-faq-section .faq-item:last-child {
    border-bottom: none;
  }

  #fh-faq-section .faq-item:hover {
    background: #fafafa;
  }

  #fh-faq-section .faq-item.active {
    background: var(--p-xlight);
  }

  #fh-faq-section .faq-question {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 15.5px;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    line-height: 1.4;
  }

  #fh-faq-section .faq-item.active .faq-question {
    color: var(--p);
  }

  #fh-faq-section .faq-text {
    flex: 1;
    min-width: 0;
  }

  #fh-faq-section .faq-arrow {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--p-xlight);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s, transform .35s ease;
    margin-top: 1px;
  }

  #fh-faq-section .faq-item.active .faq-arrow {
    background: var(--p);
    transform: rotate(180deg);
  }

  #fh-faq-section .faq-arrow svg {
    width: 14px;
    height: 14px;
    stroke: var(--p);
    fill: none;
    stroke-width: 2.5;
    transition: stroke .25s;
  }

  #fh-faq-section .faq-item.active .faq-arrow svg {
    stroke: white;
  }

  #fh-faq-section .faq-answer {
    max-height: 0;
    padding: 0 24px;
    opacity: 0;
    overflow: hidden;
    transition: max-height .4s ease, opacity .35s ease, padding .35s ease;
    font-size: 15px;
    color: var(--muted);
    line-height: 1.7;
  }

  #fh-faq-section .faq-item.active .faq-answer {
    opacity: 1;
    padding: 0 24px 22px;
  }

  @media (max-width: 640px) {
    #fh-faq-section { padding: 60px 16px; }
    #fh-faq-section .faq-question { font-size: 14.5px; padding: 18px 18px; }
    #fh-faq-section .faq-answer { font-size: 14px; }
    #fh-faq-section .faq-item.active .faq-answer { padding: 0 18px 20px; }
  }

/* ────────────────────────────────────────────────────────────────
   Scroll animation system  ·  .fh-animate
   ──────────────────────────────────────────────────────────────── */
/* ── Scroll Animation Base Styles ── */
.fh-animate {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

/* Fade up (default) */
.fh-animate.fade-up {
  transform: translateY(48px);
}

/* Fade in from left */
.fh-animate.fade-left {
  transform: translateX(-48px);
}

/* Fade in from right */
.fh-animate.fade-right {
  transform: translateX(48px);
}

/* Scale up */
.fh-animate.scale-up {
  transform: scale(0.92);
}

/* Visible state */
.fh-animate.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger delays */
.fh-animate.delay-1 { transition-delay: 0.1s; }
.fh-animate.delay-2 { transition-delay: 0.2s; }
.fh-animate.delay-3 { transition-delay: 0.3s; }
.fh-animate.delay-4 { transition-delay: 0.4s; }
.fh-animate.delay-5 { transition-delay: 0.5s; }
.fh-animate.delay-6 { transition-delay: 0.6s; }
.fh-animate.delay-7 { transition-delay: 0.7s; }
.fh-animate.delay-8 { transition-delay: 0.8s; }
.fh-animate.delay-9 { transition-delay: 0.9s; }
.fh-animate.delay-10 { transition-delay: 1.0s; }
