/* Hims & Hers breakdown (2026-11-10): hero timeline, figures, quiz screenshots, cost calculator */
.hm-path { margin: 0; padding: 28px; border: 1px solid var(--border-light); border-radius: var(--radius--small); }
.hm-path figcaption { margin-bottom: 20px; opacity: .7; }
.hm-path ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.hm-path li { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; padding: 0 0 20px 20px; border-left: 1px solid var(--border-light); }
.hm-path li:last-child { padding-bottom: 0; }
.hm-path li::before { content: ""; position: absolute; left: -5px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background-color: currentColor; }
.hm-path span { font-family: var(--font--mono); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; opacity: .7; padding-top: 2px; }
.hm-path b { font-weight: 400; line-height: 1.4; }

/* Figures: narrow viewBox keeps chart text readable on phones */
.hm-figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 16px; margin-top: 16px; }
.hm-figs .bd-figure + .bd-figure { margin-top: 0; }
.hm-fig svg { max-width: 440px; margin: 0 auto; overflow: visible; }
.hm-fig svg .t { font-size: 16px; }
.hm-fig svg .t-s { font-size: 14px; }
.hm-fig svg .hm-on-ink { fill: var(--light); }
.hm-fig svg .hm-box { fill: var(--light); stroke: var(--dark); stroke-width: 1.5; }
.hm-fig svg .hm-arrow { stroke: var(--dark); stroke-width: 1.5; fill: none; }
.bd-metrics.hm-metrics { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
@media (min-width: 992px) { .bd-metrics.hm-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hm-quote { margin-top: 40px; }

/* Five plays: 2 + 2 + 1 */
.bd-plays.hm-plays { grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); }
.bd-plays.hm-plays > li:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* Buy box: annotated page + wireframe */
.hm-hot .bd-hot { max-width: 340px; }
.hm-buybox { margin-top: 56px; }
.hm-sub { margin: 56px 0 20px; font-family: var(--font--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; }
.hm-lessons { margin-top: 16px; }

/* Condition tabs: phone screenshot beside the notes */
.hm-tabpanel { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 32px; align-items: start; }
.hm-tabpanel h3 { margin: 0 0 10px; font-family: var(--font--serif); font-weight: 400; font-size: 28px; line-height: 1.1; }
.hm-tabpanel p { margin: 0 0 10px; line-height: 1.55; }
.hm-tabpanel .bd-shot { max-width: 300px; }
.hm-wide { margin-top: 32px; max-width: 1000px; }

/* Cost calculator */
.hm-calc { margin-top: 16px; padding: 28px; border-radius: var(--radius--small); background-color: var(--light); border: 1px solid var(--border-dark); display: flex; flex-direction: column; gap: 20px; max-width: 760px; }
.hm-calc h3 { margin: 0; font-family: var(--font--serif); font-weight: 400; font-size: 30px; line-height: 1.1; }
.hm-calc fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hm-calc legend { margin-bottom: 10px; font-size: 14px; font-weight: 600; }
.hm-calc .opt { position: relative; }
.hm-calc .opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hm-calc .opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--border-dark); cursor: pointer; font-size: 15px; }
.hm-calc .opt input:checked + span { background-color: var(--dark); color: var(--light); border-color: var(--dark); }
.hm-calc .opt input:focus-visible + span { outline: 2px solid var(--dark); outline-offset: 3px; }
.hm-calc label.mo { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.hm-calc input[type="range"] { width: 100%; max-width: 320px; min-height: 44px; accent-color: var(--dark); }
.hm-out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.hm-out div { padding: 14px; border-radius: var(--radius--xsmall); background-color: var(--bg); }
.hm-out dt { font-size: 13px; opacity: .75; }
.hm-out dd { margin: 4px 0 0; font-family: var(--font--serif); font-size: clamp(26px, 3vw, 36px); line-height: 1; }
.hm-calc .note { margin: 0; font-size: 13px; opacity: .75; }

.hm-embeds .bd-embed { max-width: 560px; }
.bd-checklist li a { display: block; margin-top: 6px; font-weight: 500; }

@media (max-width: 767px) { .hm-tabpanel { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 479px) {
  .hm-path { padding: 20px; } .hm-path li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .bd-figure.hm-fig { padding: 20px 16px; }
  .hm-calc { padding: 20px; }
  .hm-out { grid-template-columns: minmax(0, 1fr); }
}
