/* === Averra "Your health in focus" redesign === */
/* Brand palette: Parchment #fef9ef, Aged Paper #f5eee1, Forest #34432f,
   Sage #8a8879, Olive #605f54, Bone #dbd9cc, Ink #2a2b2f */

/* --- Section wrapper --- */
.tracked.tracked--averra {
  background-color: #fef9ef;
  position: relative;
  overflow: hidden;
}

.tracked.tracked--averra .tracked_wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
  max-width: 72rem;
  margin: 0 auto;
}

/* --- Header --- */
.tracked.tracked--averra .tracked_header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
  max-width: 44rem;
}

.tracked.tracked--averra .tracked_headline {
  margin: 0;
  font-family: 'Cormorant Garamond', var(--font-serif), Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  color: #34432f;
  letter-spacing: -0.015em;
}

.tracked.tracked--averra .tracked_headline .u-orange-italic {
  font-style: italic;
  color: #605f54;
}

/* --- Checklist: clean Averra-branded pills --- */
.tracked.tracked--averra .tracked_checklist {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.tracked.tracked--averra .tracked_checklist-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4375rem 1.125rem;
  border-radius: 999px;
  background: #f5eee1;
  border: 1px solid #dbd9cc;
  font-family: 'Inter', var(--font-sans), system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  color: #34432f;
  white-space: nowrap;
  transition: border-color 200ms ease, background-color 200ms ease;
}

.tracked.tracked--averra .tracked_checklist-item:hover {
  border-color: #8a8879;
  background: #f2e9db;
}

.tracked.tracked--averra .tracked_checklist-item .check-item__icon {
  display: none !important;
}

.tracked.tracked--averra .tracked_checklist-item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34432f;
  flex-shrink: 0;
}

.tracked.tracked--averra .tracked_checklist-text {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

/* --- Visual: human animation on top, marquee below --- */
.tracked.tracked--averra .tracked_visual {
  position: static;
  width: 100%;
  --tracked-card-width: min(20rem, calc(100vw - 2.5rem));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.75rem, 3.5vw, 2.75rem);
  padding: 0;
}

/* Hide the old marquee/focus structure */
.tracked.tracked--averra .tracked_marquee,
.tracked.tracked--averra .tracked_focus,
.tracked.tracked--averra .tracked_motion-toggle-wrap {
  display: none !important;
}

/* --- Human body animation stage --- */
.tracked-human {
  position: relative;
  width: 100%;
  max-width: 24rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tracked-human__svg-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 290px;
}

.tracked-human__svg {
  width: 100%;
  height: 100%;
  max-height: 290px;
  overflow: visible;
}

/* SVG styling */
.tracked-human__body-outline {
  fill: none;
  stroke: #8a8879;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.45;
  transition: opacity 500ms ease;
}

.tracked-human__body-part {
  fill: none;
  stroke: #dbd9cc;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.4;
  transition: stroke 500ms ease, stroke-width 500ms ease, opacity 500ms ease, fill 500ms ease;
}

.tracked-human__body-part.is-active {
  stroke: #34432f;
  stroke-width: 2.2;
  opacity: 1;
}

.tracked-human__body-part[data-part="silhouette"].is-active {
  stroke: #34432f;
  stroke-width: 2;
  opacity: 0.85;
  fill: rgba(52, 67, 47, 0.04);
}

.tracked-human__body-part[data-part="heart"].is-active {
  stroke: #34432f;
  fill: rgba(52, 67, 47, 0.08);
}

.tracked-human__body-part[data-part="head"].is-active {
  stroke: #34432f;
  fill: rgba(52, 67, 47, 0.06);
}

.tracked-human__body-part[data-part="gut"].is-active {
  stroke: #34432f;
  fill: rgba(52, 67, 47, 0.05);
}

.tracked-human__body-part[data-part="core"].is-active {
  stroke: #34432f;
  fill: rgba(52, 67, 47, 0.05);
}

/* Focus label */
.tracked-human__label {
  margin-top: 1.25rem;
  font-family: 'Cormorant Garamond', var(--font-serif), Georgia, serif;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  color: #34432f;
  text-align: center;
  line-height: 1.3;
  min-height: 2.2rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
}

.tracked-human__focus-title {
  font-style: italic;
  font-weight: 500;
  color: #34432f;
  font-size: 1.1em;
}

.tracked-human__focus-sep {
  color: #8a8879;
  font-family: 'Inter', var(--font-sans), sans-serif;
  font-size: 0.85em;
  opacity: 0.6;
}

.tracked-human__focus-sub {
  font-family: 'Inter', var(--font-sans), system-ui, sans-serif;
  font-weight: 400;
  font-size: 0.875rem;
  color: #605f54;
  letter-spacing: -0.005em;
}

/* Indicator dots */
.tracked-human__dots {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 0.875rem;
}

.tracked-human__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #dbd9cc;
  cursor: pointer;
  padding: 0;
  border: none;
  transition: background 300ms ease, transform 300ms ease, box-shadow 300ms ease;
}

.tracked-human__dot:hover {
  background: #8a8879;
}

.tracked-human__dot.is-active {
  background: #34432f;
  transform: scale(1.4);
  box-shadow: 0 0 0 2px rgba(52, 67, 47, 0.15);
}

/* --- Wave Marquee --- */
.tracked-wave {
  width: 100%;
  max-width: 68rem;
  overflow: hidden;
  padding: 1.25rem 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.tracked-wave__track {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  width: max-content;
  will-change: transform;
}

.tracked-wave__word {
  font-family: 'Cormorant Garamond', var(--font-serif), Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.125rem, 1.8vw, 1.4375rem);
  color: #34432f;
  opacity: 0.88;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  will-change: transform;
  letter-spacing: -0.01em;
}

.tracked-wave__word::after {
  content: "·";
  margin-left: 2.25rem;
  color: #8a8879;
  opacity: 0.55;
  font-family: 'Inter', var(--font-sans), sans-serif;
  font-weight: 300;
}

/* --- Pause/Play motion toggle --- */
.tracked.tracked--averra .tracked-redesign-toggle {
  display: flex;
  justify-content: center;
  margin-top: 0.25rem;
}

.tracked-redesign-toggle button {
  border: 1px solid #dbd9cc;
  background: #f5eee1;
  color: #605f54;
  border-radius: 999px;
  padding: 0.4375rem 1.125rem;
  font-family: 'Inter', var(--font-sans), system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.tracked-redesign-toggle button:hover {
  background: #fef9ef;
  color: #34432f;
  border-color: #8a8879;
}

.tracked-redesign-toggle button:focus-visible {
  outline: 2px solid #34432f;
  outline-offset: 2px;
}

/* --- Responsive --- */
@media (max-width: 767px) {
  .tracked.tracked--averra .tracked_wrapper {
    gap: 2rem;
  }

  .tracked.tracked--averra .tracked_checklist {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 20rem;
    gap: 0.5rem;
  }

  .tracked.tracked--averra .tracked_checklist-item {
    justify-content: center;
    padding: 0.5rem 1rem;
  }

  .tracked-human__svg-wrap {
    height: 240px;
  }

  .tracked-human__svg {
    max-height: 240px;
  }

  .tracked-human__label {
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
  }

  .tracked-human__focus-sep {
    display: none;
  }

  .tracked-wave__word {
    font-size: 1.125rem;
  }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  .tracked.tracked--averra .tracked-human__body-part,
  .tracked.tracked--averra .tracked-human__dot {
    transition: none;
  }

  .tracked-wave__track {
    animation: none !important;
  }

  .tracked-wave__word {
    transform: none !important;
  }
}

/* Body callouts, anchored to each focus zone. */
.tracked-human{max-width:780px}.tracked-human__svg-wrap{height:430px}.tracked-human__svg{max-height:430px}.tracked-human__body-outline{opacity:.8;stroke:#605f54}
.tracked-human__callout{position:absolute;left:58%;top:43%;width:225px;padding:18px 20px;background:#f5eee1;border:1px solid #dbd9cc;border-radius:16px;box-shadow:0 8px 28px #34432f0d;opacity:0;transform:translateY(10px);transition:opacity 280ms ease,transform 280ms ease;font-family:Inter,sans-serif;color:#34432f;text-align:left}
.tracked-human__callout.is-visible{opacity:1;transform:translateY(0)}.tracked-human__callout strong{display:block;font-family:Cormorant Garamond,Georgia,serif;font-size:26px;font-weight:500;margin-bottom:6px}.tracked-human__callout span{display:block;font-size:14px;line-height:1.45;color:#605f54}.tracked-human__callout:before{content:"";position:absolute;width:40px;height:1px;background:#8a8879;right:100%;top:30px}.tracked-human__callout[data-area=exercise]{left:10%;top:54%}.tracked-human__callout[data-area=exercise]:before{right:auto;left:100%}.tracked-human__callout[data-area=recovery]{top:12%}.tracked-human__callout[data-area=longevity]{left:10%;top:30%}.tracked-human__callout[data-area=longevity]:before{right:auto;left:100%}.tracked-human__callout[data-area=weight-loss]{top:48%}
@media(max-width:600px){.tracked-human__svg-wrap{height:390px}.tracked-human__svg{max-height:330px;align-self:flex-start}.tracked-human__callout,.tracked-human__callout[data-area]{left:52%;top:30%;width:155px;padding:12px}.tracked-human__callout strong{font-size:23px}.tracked-human__callout span{font-size:13px}.tracked-human__callout:before{width:15px}.tracked-human__callout[data-area=exercise],.tracked-human__callout[data-area=longevity]{left:0;top:53%}}
@media(prefers-reduced-motion:reduce){.tracked-human__callout{transition:none}}
