/* ============================================================
   PM Hub — Guide article stylesheet
   Extracted verbatim from the approved build.

   ONE KNOB: .pmh max-width is 680px because that is the width
   every mockup was approved at. The live container is 1180px.
   ============================================================ */

.pmh {
  max-width: 680px;
  margin: 0 auto;
  padding: 24px 20px;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #3A4256;
  font-size: 13px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.pmh *, .pmh *::before, .pmh *::after { box-sizing: border-box; }

/* ===== SECTION 00 — Article header, dark ===== */
.pmh .hb { background: #0E1525; border-radius: 18px; padding: 28px 30px; color: #8B93A7; font-size: 13px; line-height: 1.65; margin-bottom: 32px; }
.pmh .hb-cr { font-size: 11.5px; color: #8B93A7; margin: 0 0 14px; }
.pmh .hb-cr a { color: #8B93A7; text-decoration: none; }
.pmh .hb-cr span { color: #4A5163; margin: 0 6px; }
.pmh .hb-eb { font-size: 10px; letter-spacing: .13em; text-transform: uppercase; color: #A78BFA; font-weight: 700; margin: 0 0 8px; }
.pmh .hb h1 { font-family: Newsreader, Georgia, serif; font-size: 35px; color: #fff; font-weight: 600; letter-spacing: -.025em; line-height: 1.08; margin: 0 0 13px; }
.pmh .hb-sf { font-size: 14.5px; line-height: 1.7; color: #C9CEDA; margin: 0 0 20px; max-width: 540px; }
.pmh .hb-by { display: flex; gap: 24px; row-gap: 14px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.13); padding-top: 15px; }
.pmh .hb-bl { font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: #8B93A7; font-weight: 700; margin: 0 0 3px; white-space: nowrap; }
.pmh .hb-bv { font-size: 12.5px; color: #fff; font-weight: 700; margin: 0; }

/* ===== SECTION 01 — Leaderboard ===== */
.pmh .lb { background: #fff; border: 1px solid #ECECF2; border-radius: 14px; padding: 18px 20px; }
.pmh .lb h2 { font-family: Newsreader, Georgia, serif; font-size: 23px; color: #0E1525; font-weight: 600; margin: 0 0 4px; letter-spacing: -.02em; }
.pmh .lb-sub { color: #6B7280; font-size: 12.5px; margin: 0 0 14px; }
.pmh .lb-filters { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 4px; }
.pmh .ch { font: inherit; border: 1px solid #ECECF2; border-radius: 999px; padding: 6px 13px; font-size: 12px; color: #3A4256; background: #fff; cursor: pointer; }
.pmh .ch--add { color: #6B7280; }
.pmh .cha { background: #F5F1FE; border-color: #D8CBFB; color: #6D28D9; font-weight: 600; }
.pmh .ch:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(124,58,237,.35); }
.pmh .lb-cols { display: grid; grid-template-columns: 26px 1fr 132px 62px 84px; gap: 12px; font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: #6B7280; font-weight: 600; margin-top: 16px; padding-bottom: 2px; }
.pmh .lb-cols .right { text-align: right; }
.pmh .rw { display: grid; grid-template-columns: 26px 1fr 132px 62px 84px; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid #ECECF2; }
.pmh .rk { font-weight: 700; color: #6D28D9; font-size: 14px; font-variant-numeric: tabular-nums; }
.pmh .rk--rest { color: #9AA1AE; }
.pmh .tl-name { font-weight: 700; color: #0E1525; font-size: 14px; margin: 0; line-height: 1.3; }
.pmh .tl-meta { color: #6B7280; font-size: 11.5px; margin: 0; }
.pmh .bar { display: block; height: 5px; border-radius: 3px; background: #EFECF6; overflow: hidden; }
.pmh .bar + .bar { margin-top: 3px; }
.pmh .fil { display: block; height: 5px; border-radius: 3px; background: #7C3AED; }
.pmh .sc { text-align: right; font-weight: 700; color: #0E1525; font-size: 16px; font-variant-numeric: tabular-nums; }
.pmh .cta { display: block; background: linear-gradient(135deg, #7C3AED, #2563EB); color: #fff; border-radius: 9px; padding: 7px 0; font-size: 11.5px; font-weight: 700; text-align: center; text-decoration: none; }
.pmh .cta:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(124,58,237,.35); }
.pmh .legend { border-top: 1px solid #ECECF2; padding-top: 12px; margin-top: 2px; font-size: 11.5px; color: #6B7280; display: flex; gap: 14px; }
.pmh .legend .swatch { display: inline-block; width: 18px; height: 4px; background: #7C3AED; border-radius: 2px; vertical-align: 2px; margin-right: 6px; }

/* ===== SECTION 02 — How we scored ===== */
.pmh .m2 { margin-top: 32px; }
.pmh .m2 .eb { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #6D28D9; font-weight: 600; margin: 0 0 6px; }
.pmh .m2 h2 { font-family: Newsreader, Georgia, serif; font-size: 24px; color: #0E1525; font-weight: 600; letter-spacing: -.02em; line-height: 1.14; margin: 0 0 5px; }
.pmh .m2-lede { color: #6B7280; font-size: 13px; margin: 0 0 16px; max-width: 520px; }
.pmh .m2-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 11px; margin-bottom: 16px; }
.pmh .cr { background: #fff; border: 1px solid #ECECF2; border-radius: 14px; padding: 14px 15px; }
.pmh .nm { font-weight: 700; color: #0E1525; font-size: 13.5px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.pmh .pc { font-variant-numeric: tabular-nums; color: #6D28D9; font-size: 12.5px; font-weight: 700; flex: none; }
.pmh .wt { display: block; height: 5px; border-radius: 3px; background: #EFECF6; overflow: hidden; margin: 9px 0 8px; }
.pmh .wt i { display: block; height: 100%; border-radius: 3px; background: #7C3AED; }
.pmh .cr-desc { font-size: 12.5px; color: #3A4256; line-height: 1.55; margin: 0; }
.pmh .trust { background: #F5F1FE; border: 1px solid #E4DBFC; border-radius: 14px; padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; }
.pmh .trust svg { flex: none; margin-top: 1px; color: #6D28D9; }
.pmh .trust p { font-size: 12.5px; line-height: 1.6; color: #3A4256; margin: 0; }
.pmh .trust strong { color: #0E1525; font-weight: 700; }
.pmh .m2-link { margin: 14px 0 0; font-size: 12.5px; }
.pmh .m2-link a { color: #6D28D9; font-weight: 600; text-decoration: none; }
.pmh .m2-link a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ===== SECTION 03 — Tool profile, dark split rail ===== */
.pmh .ds { margin-top: 32px; }
.pmh .ds-cd { border: 1px solid #ECECF2; border-radius: 18px; overflow: hidden; display: grid; grid-template-columns: 236px minmax(0, 1fr); background: #fff; }
.pmh .ds-rail { background: #0E1525; padding: 19px 20px; display: flex; flex-direction: column; }
.pmh .ds-lg { width: 46px; height: 46px; border-radius: 13px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); color: #fff; font-family: Newsreader, Georgia, serif; font-size: 21px; font-weight: 600; display: flex; align-items: center; justify-content: center; margin-bottom: 13px; }
.pmh .ds-nm { font-family: Newsreader, Georgia, serif; font-size: 23px; color: #fff; font-weight: 600; margin: 0; line-height: 1.12; }
.pmh .ds-rk { font-size: 10px; letter-spacing: .13em; text-transform: uppercase; color: #A78BFA; font-weight: 700; margin-bottom: 5px; }
.pmh .ds-bf { margin: 5px 0 0; font-size: 12.5px; color: #A78BFA; font-weight: 600; }
.pmh .ds-sb { border-top: 1px solid rgba(255,255,255,.14); margin-top: 15px; padding-top: 14px; }
.pmh .ds-total { display: flex; align-items: baseline; gap: 7px; }
.pmh .ds-total span:first-child { font-size: 30px; font-weight: 700; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.pmh .ds-total span:last-child { font-size: 11px; color: #8B93A7; }
.pmh .ds-bar { display: block; height: 4px; border-radius: 2px; background: rgba(255,255,255,.15); overflow: hidden; margin-top: 4px; }
.pmh .ds-bar i { display: block; height: 100%; border-radius: 2px; background: linear-gradient(90deg, #7C3AED, #2563EB); }
.pmh .ds-brow { font-size: 10.5px; color: #8B93A7; display: flex; justify-content: space-between; margin-top: 9px; }
.pmh .ds-brow b { color: #fff; font-variant-numeric: tabular-nums; }
.pmh .ds-foot { margin-top: auto; padding-top: 16px; }
.pmh .ds-btn { display: block; background: #fff; color: #0E1525; border-radius: 10px; padding: 10px 0; text-align: center; font-size: 12px; font-weight: 700; text-decoration: none; }
.pmh .ds-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(167,139,250,.6); }
.pmh .ds-bd { padding: 19px 20px; }
.pmh .ds-shot { background: #F8F8FB; border: 1px solid #ECECF2; border-radius: 12px; height: 118px; display: flex; align-items: center; justify-content: center; color: #9AA1AE; font-size: 12px; margin-bottom: 13px; gap: 7px; }
.pmh .ds-pills { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.pmh .ds-pill { background: #F8F8FB; border: 1px solid #ECECF2; border-radius: 999px; padding: 5px 12px; font-size: 11.5px; }
.pmh .ds-pill b { color: #0E1525; font-weight: 700; }
.pmh .ds-copy { margin: 0 0 13px; font-size: 12.5px; line-height: 1.7; }
.pmh .ds-pcg { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 13px; }
.pmh .ds-pl { font-size: 9.5px; letter-spacing: .11em; text-transform: uppercase; font-weight: 700; margin: 0 0 7px; }
.pmh .ds-li { position: relative; padding-left: 16px; margin-bottom: 5px; font-size: 12.5px; line-height: 1.45; }
.pmh .ds-li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.pmh .ds-pp .ds-li::before { content: "+"; color: #15803D; }
.pmh .ds-cc .ds-li::before { content: "\2013"; color: #B3372F; }
.pmh .ds-vd { background: #F5F1FE; border-left: 3px solid #7C3AED; padding: 11px 14px; font-size: 12.5px; }
.pmh .ds-vd strong { color: #0E1525; font-weight: 700; }

/* ===== SECTION 04 — Positioning map ===== */
.pmh .qm { margin-top: 32px; }
.pmh .qm-eb { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #6D28D9; font-weight: 600; margin: 0 0 6px; }
.pmh .qm h2 { font-family: Newsreader, Georgia, serif; font-size: 24px; color: #0E1525; font-weight: 600; letter-spacing: -.02em; margin: 0 0 5px; }
.pmh .qm-lede { color: #6B7280; font-size: 13px; margin: 0 0 14px; max-width: 520px; }
.pmh .qm-panel { background: #fff; border: 1px solid #ECECF2; border-radius: 16px; padding: 16px; }
.pmh .qm-panel svg { width: 100%; height: auto; display: block; }
.pmh .qm-note { font-size: 11.5px; color: #6B7280; margin: 11px 0 0; }

/* ===== SECTION 05 — Size and budget grid ===== */
.pmh .sg { margin-top: 32px; }
.pmh .sg-eb { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #6D28D9; font-weight: 600; margin: 0 0 6px; }
.pmh .sg h2 { font-family: Newsreader, Georgia, serif; font-size: 24px; color: #0E1525; font-weight: 600; letter-spacing: -.02em; margin: 0 0 5px; }
.pmh .sg-lede { color: #6B7280; font-size: 13px; margin: 0 0 16px; max-width: 520px; }
.pmh .sg-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pmh .sg-grid { display: grid; grid-template-columns: 88px repeat(3, 1fr); gap: 8px; }
.pmh .sg-ch { font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: #6B7280; font-weight: 700; text-align: center; padding: 0 0 2px; }
.pmh .sg-rh { font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: #6B7280; font-weight: 700; display: flex; align-items: center; }
.pmh .sg-cell { border: 1px solid #ECECF2; border-radius: 13px; padding: 13px 12px; background: #fff; min-height: 88px; }
.pmh .sg-cell--best { background: #F5F1FE; border-color: #D8CBFB; }
.pmh .sg-cell--dark { background: #0E1525; border-color: #0E1525; }
.pmh .sg-tn { font-family: Newsreader, Georgia, serif; font-size: 16px; color: #0E1525; font-weight: 600; margin: 0; line-height: 1.15; }
.pmh .sg-why { font-size: 11.5px; color: #6B7280; margin: 4px 0 0; line-height: 1.45; }
.pmh .sg-cell--dark .sg-tn { color: #fff; }
.pmh .sg-cell--dark .sg-why { color: #8B93A7; }
.pmh .sg-foot { font-size: 11.5px; color: #6B7280; margin: 12px 0 0; }

/* ===== Distributed question blocks ===== */
.pmh .inl { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; border-left: 3px solid #7C3AED; background: #FBFAFE; border-radius: 0 12px 12px 0; padding: 14px 16px; margin: 11px 0 18px; }
.pmh .mk { width: 26px; height: 26px; border-radius: 50%; background: #7C3AED; color: #fff; font-family: Newsreader, Georgia, serif; font-size: 15px; font-weight: 600; display: flex; align-items: center; justify-content: center; flex: none; }
.pmh .iq { font-family: Newsreader, Georgia, serif; font-size: 16px; color: #0E1525; font-weight: 600; margin: 0 0 5px; line-height: 1.3; }
.pmh .ia { font-size: 12.5px; line-height: 1.7; margin: 0; }
.pmh .ia b { color: #0E1525; font-weight: 700; }

/* ===== SECTION 07 — Closing recap ===== */
.pmh .ca { background: #0E1525; border-radius: 18px; padding: 26px 28px; color: #8B93A7; font-size: 13px; line-height: 1.65; margin-top: 32px; }
.pmh .ca-eb { font-size: 10px; letter-spacing: .13em; text-transform: uppercase; color: #A78BFA; font-weight: 700; margin: 0 0 7px; }
.pmh .ca h2 { font-family: Newsreader, Georgia, serif; font-size: 26px; color: #fff; font-weight: 600; letter-spacing: -.02em; margin: 0 0 9px; line-height: 1.15; }
.pmh .ca-lede { margin: 0 0 18px; max-width: 470px; line-height: 1.7; color: #C9CEDA; font-size: 13px; }
.pmh .ca-lede strong { color: #fff; font-weight: 700; }
.pmh .ca-btns { display: flex; gap: 9px; flex-wrap: wrap; }
.pmh .ca-b1 { background: #fff; color: #0E1525; border-radius: 11px; padding: 11px 20px; font-size: 12.5px; font-weight: 700; display: inline-block; text-decoration: none; }
.pmh .ca-b2 { border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 11px; padding: 10px 18px; font-size: 12.5px; font-weight: 700; display: inline-block; text-decoration: none; }
.pmh .ca-b1:focus-visible, .pmh .ca-b2:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(167,139,250,.6); }
.pmh .ca-st { display: flex; gap: 26px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.13); margin-top: 22px; padding-top: 16px; }
.pmh .ca-sn { font-size: 19px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; line-height: 1; }
.pmh .ca-sl { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #8B93A7; font-weight: 700; margin-top: 4px; }

/* ===== Price-led variant =====
   The approved leaderboard had a score column and score bars. The real
   article has no scores, so this variant swaps those two columns for
   starting price and free plan, which are real published figures. */
.pmh .lb--nosc .lb-cols,
.pmh .lb--nosc .rw { grid-template-columns: 26px 1fr 128px 128px 92px; }
.pmh .lb-v { font-size: 11.5px; color: #0E1525; font-weight: 700; line-height: 1.35; }

/* Rail facts. Replaces the score bars for the same reason. */
.pmh .ds-fact { margin-top: 11px; }
.pmh .ds-fact span { display: block; font-size: 9px; letter-spacing: .11em; text-transform: uppercase; color: #8B93A7; font-weight: 700; margin-bottom: 2px; }
.pmh .ds-fact b { display: block; font-size: 12px; color: #fff; font-weight: 700; line-height: 1.4; }

/* ===== responsive ===== */
@media (max-width: 620px) {
  .pmh .lb-cols { display: none; }
  .pmh .lb--nosc .rw { grid-template-columns: 26px 1fr auto; grid-template-areas: "rk tl v" ". cta cta"; row-gap: 10px; }
  .pmh .lb--nosc .lb-v { grid-area: v; text-align: right; }
  .pmh .lb--nosc .lb-v + .lb-v { display: none; }
  .pmh .rw { grid-template-columns: 26px 1fr auto; grid-template-areas: "rk tl sc" ". cta cta"; row-gap: 12px; }
  .pmh .rk { grid-area: rk; }
  .pmh .tl { grid-area: tl; }
  .pmh .sc { grid-area: sc; }
  .pmh .bars { display: none; }
  .pmh .cta { grid-area: cta; padding: 10px 0; font-size: 12px; }
  .pmh .legend { display: none; }
  .pmh .lb-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .pmh .ch { white-space: nowrap; }
  .pmh .ds-cd { grid-template-columns: 1fr; }
  .pmh .ds-pcg { grid-template-columns: 1fr; gap: 12px; }
  .pmh .qm-panel { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .pmh .qm-panel svg { min-width: 560px; }
  .pmh .sg-grid { min-width: 520px; }
}

@media (prefers-reduced-motion: reduce) {
  .pmh *, .pmh *::before, .pmh *::after { transition: none !important; }
}
