@media(max-width:760px){:root{--hx-phone-font-cut:1.5px;}:where(body){font-size:calc(1rem - 1.5px);}}
/* Owner's phone reference: consistent heading/body proportions across widths.
   Values retain the existing single 1.5px build reduction; desktop is outside
   this media query. Small labels and the four SVG symbols keep their roles. */
@media(max-width:760px) {
  body.hx-framework {
    --hx-phone-title-size:29.5px;
    --hx-phone-body-size:15.5px;
    --hx-phone-intro-size:15.5px;
    --hx-phone-card-title-size:20.5px;
  }
  body.hx-framework[data-hx-palette] main#main-content > :is(.hero,.hx-secondary-hero) h1,
  body.hx-framework.hx-content-page main#main-content .hx-content-reader h1 {
    font-size:calc(var(--hx-phone-title-size) - var(--hx-phone-font-cut,0px)) !important;
    line-height:1.4 !important;
  }
  body.hx-framework:is([data-hx-palette="home"],[data-hx-palette="about"],[data-hx-palette="offerings"],[data-hx-palette="resources"]) main#main-content :is(h1,h2.sectiontitle,h3.sectiontitle) {
    font-size:calc(var(--hx-phone-title-size) - var(--hx-phone-font-cut,0px)) !important;
  }
  body.hx-framework:is([data-hx-palette="home"],[data-hx-palette="about"],[data-hx-palette="offerings"],[data-hx-palette="resources"]) main#main-content h3:not(.sectiontitle) {
    font-size:calc(var(--hx-phone-card-title-size) - var(--hx-phone-font-cut,0px)) !important;
    line-height:1.45;
  }
  body.hx-framework:is([data-hx-palette="home"],[data-hx-palette="about"],[data-hx-palette="offerings"],[data-hx-palette="resources"]) main#main-content p:not(.hx-v18-motto,.hx-form-note,#hx-letter-question) {
    --hx-prose-size:var(--hx-phone-body-size);
    font-size:calc(var(--hx-phone-body-size) - var(--hx-phone-font-cut,0px)) !important;
    line-height:1.95 !important;
  }
  body.hx-framework[data-hx-palette="home"] main#main-content .hx-about-philosophy > h2.sectiontitle,
  body.hx-framework[data-hx-palette="about"] main#main-content .hx-about-philosophy > h2.sectiontitle {
    font-size:calc(21.5px - var(--hx-phone-font-cut,0px)) !important;
    line-height:1.65;
  }
}

/* The reference changes reading width by role, rather than squeezing every
   section. Keep the Hero, opening text, principles and painted backgrounds wide. */
@media(max-width:760px) {
  body.hx-framework {
    --hx-phone-reading-width:min(72vw,420px);
    --hx-phone-card-width:min(76vw,440px);
  }
  body.hx-framework[data-hx-palette="home"] main#main-content > .home-founder > :is(.split,h2.sectiontitle),
  body.hx-framework[data-hx-palette="about"] main#main-content .hx-profile > :is(.hx-profile-grid,h2.sectiontitle),
  body.hx-framework[data-hx-palette="home"] main#main-content .hx-review-privacy {
    width:var(--hx-phone-reading-width); max-width:100%; margin-inline:auto;
  }
  body.hx-framework[data-hx-palette="home"] main#main-content .home-founder .hx-founder-photo {
    width:min(64vw,360px); max-width:100%; margin-inline:auto;
  }
  body.hx-framework[data-hx-palette="about"] main#main-content .hx-profile .card {
    padding-inline:0;
  }
  body.hx-framework[data-hx-palette="home"] main#main-content > .home-offerings > .grid,
  body.hx-framework[data-hx-palette="home"] main#main-content > :is(.home-offerings,.home-testimonials) > h2.sectiontitle,
  body.hx-framework main#main-content #home-resources .hx-import-content > section.mint > .grid,
  body.hx-framework main#main-content #home-resources .hx-import-content > section.mint > h2.sectiontitle,
  body.hx-framework[data-hx-palette="resources"] main#main-content > section.mint > .grid,
  body.hx-framework[data-hx-palette="resources"] main#main-content > section.mint > h2.sectiontitle,
  body.hx-framework main#main-content .hx-offerings-wrap > :is(.hx-offerings-grid,h2.sectiontitle) {
    width:var(--hx-phone-card-width); max-width:100%; margin-inline:auto;
  }
  body.hx-framework[data-hx-palette] main#main-content [data-hx-hero-tone],
  body.hx-framework[data-hx-palette="home"] main#main-content #home-offerings .hx-offering-tile {
    padding-inline:clamp(24px,10vw,52px);
  }
  body.hx-framework main#main-content .home-offering-card p { text-wrap:balance; }
  body.hx-framework[data-hx-palette] main#main-content [data-hx-hero-tone] p {
    text-align:start !important; text-align-last:start !important;
  }
  body.hx-framework main#main-content .hx-resource-notify form > .grid {
    grid-template-columns:minmax(0,1fr) !important;
  }
  body.hx-framework[data-hx-palette="home"] main#main-content > .dark > :is(h2,p),
  body.hx-framework[data-hx-palette="home"] main#main-content > .hx-ready-moment > h2 {
    width:var(--hx-phone-reading-width); max-width:100%; margin-inline:auto;
  }
  body.hx-framework .hx-review-dialog {
    width:min(78vw,440px); padding-inline:clamp(24px,10vw,52px);
  }
  body.hx-framework .hx-review-expanded { padding-right:0; }
  body.hx-framework footer.hx-site-footer {
    padding-inline:max(14vw,calc((100vw - 420px) / 2)) !important;
  }
}
