/* Local redesign: type follows the message's role, rather than one display scale. */

/* The character and one short explanation introduce the merged Amp scene. */
body.ha-message-hierarchy #your-amp #amp-title {
  font-size:clamp(48px,4.2cqw,64px) !important;
  line-height:1.06 !important;
  letter-spacing:-.04em !important;
}

/* Chapter statements remain strong, with a calmer scale than the opening promise. */
body.ha-message-hierarchy :is(#insight-title,#disc-title,#inv-title,#ontap-title) {
  font-size:var(--ha-type-chapter) !important;
  line-height:1.1 !important;
  letter-spacing:-.035em !important;
}

/* Longer statements need readable leading and tracking across several lines. */
body.ha-message-hierarchy :is(#team-title,#ws-title,#bm-title,#it-title) {
  font-size:var(--ha-type-long) !important;
  line-height:1.12 !important;
  letter-spacing:-.03em !important;
}
body.ha-message-hierarchy #ontap .mt-chg-t {
  font-size:var(--ha-type-subheading) !important;
  line-height:1.15 !important;
  letter-spacing:-.03em !important;
}

/* Benefits explain the offer; make them easier to read beneath the phase names. */
body.ha-message-hierarchy #what-we-do .ph-c .ph-t {
  font-size:clamp(22px,1.9vw,26px) !important;
  line-height:1.15 !important;
}
body.ha-message-hierarchy #what-we-do .ph-c .ph-s {
  font-size:clamp(18px,1.4vw,20px) !important;
  line-height:1.35 !important;
}
body.ha-message-hierarchy #what-we-do .ph-c .ph-b li {
  font-size:clamp(16px,1.15vw,17px) !important;
  line-height:1.45 !important;
}
body.ha-message-hierarchy #what-we-do .in-get3 li {
  font-size:17px !important;
  line-height:1.45 !important;
  letter-spacing:-.01em !important;
}

/* Useful background and attribution stay quiet without becoming tiny. */
body.ha-message-hierarchy #team .lt-fact {
  font-size:16px !important;
  line-height:1.55 !important;
}
body.ha-message-hierarchy #team .lt-crew-l {
  font-size:13px !important;
  line-height:1.3 !important;
}
body.ha-message-hierarchy #what-we-do .ps-c :is(.ps-src,.ps-src a) {
  font-size:13px !important;
  line-height:1.45 !important;
}

@media (max-width:900px) {
  body.ha-message-hierarchy #what-we-do .ph-c .ph-t { font-size:22px !important; }
  body.ha-message-hierarchy #what-we-do .ph-c .ph-s { font-size:17px !important; }
}
@media (max-width:760px) {
  body.ha-message-hierarchy section.m-only[aria-label="Your Amp"] h2 {
    font-size:38px !important;
    line-height:1.08 !important;
    letter-spacing:-.035em !important;
  }
  body.ha-message-hierarchy :is(#insight-title,#disc-title,#inv-title,#ontap-title) {
    font-size:34px !important;
  }
  body.ha-message-hierarchy :is(#team-title,#ws-title,#bm-title,#it-title) {
    font-size:32px !important;
  }
}
@media (max-width:640px) {
  body.ha-message-hierarchy #what-we-do .ph-c .ph-t { font-size:20px !important; }
  body.ha-message-hierarchy #what-we-do .ph-c .ph-s { font-size:16px !important; }
}
@media (max-width:359px) {
  body.ha-message-hierarchy :is(#team-title,#ws-title,#bm-title,#it-title) {
    font-size:30px !important;
  }
}
