/* ==========================================================================
   The Diagnosis page (the-diagnosis.html). Tokens only.
   The .choice radio group now lives in components.css (section 17).
   ========================================================================== */

/* ---- Hero facts strip: "Free · 60–90 minutes · …" -------------------- */
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-4);
  margin-top: var(--space-6);
  font-size: var(--fs-label);
  font-weight: 500;
  line-height: 1.3;
  color: var(--muted);
}
.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
}
.hero-facts li + li::before {
  content: "";
  flex: none;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

/* ---- ( 03 ) Who it's for / who it isn't ------------------------------ */
.fit {
  display: grid;
  gap: var(--space-8);
}
@media (min-width: 768px) {
  .fit { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-7); }
}
.fit__list {
  margin-top: var(--space-5);
  border-top: var(--hairline);
}
.fit__item {
  position: relative;
  padding: var(--space-4) 0 var(--space-4) 1.6em;
  border-bottom: var(--hairline);
}
/* filled dot = for you; hollow ring = not for you */
.fit__item::before {
  content: "";
  position: absolute;
  left: 0.15em;
  top: calc(var(--space-4) + 0.55em);
  width: 0.45em;
  height: 0.45em;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: currentColor;
}
.fit__col--not .fit__item::before { background: transparent; }

/* ---- Hero crop: zoom onto the face and shirt so "LOOK FIRST." never
   sits on the white mug, laptop or table (P1-2). Source is 1000×666;
   this frame shows roughly x 470–850, y 0–470. -------------------------- */
.diag-hero .hero__media img {
  transform: scale(1.42);
  transform-origin: 85% 0%;
}

/* ---- ( 05 ) The form ------------------------------------------------- */
.book__form { margin-top: var(--space-7); }
.book__required { margin-bottom: calc(var(--space-6) * -0.5); }
.book__success,
.book__error { max-width: 52rem; margin-top: var(--space-7); }
.book__success .h4 { margin-bottom: var(--space-2); }

/* "Add details (optional)": the three optional fields, collapsed */
.book__more-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  min-height: 44px;
  font-size: var(--fs-label);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.book__more-toggle::-webkit-details-marker { display: none; }
.book__more-toggle::before {
  content: "+";
  display: inline-block;
  width: 1em;
  font-size: var(--fs-body-lg);
  font-weight: 400;
  line-height: 1;
  transition: transform var(--dur) var(--ease);
}
.book__more[open] > .book__more-toggle::before { transform: rotate(45deg); }
.book__more-fields {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-4);
}

@media (max-width: 599px) {
  /* Facts: a tidy 2 × 2 list instead of a wrapping dotted line */
  .hero-facts {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    gap: var(--space-2) var(--space-5);
    text-align: left;
  }
  .hero-facts li::before,
  .hero-facts li + li::before {
    content: "";
    flex: none;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
  }
  .hero-facts li { gap: var(--space-2); }
}
