/* Let phone headings wrap as a whole, instead of leaving a short fragment
   before an editorial desktop line break. Keep desktop typography intact. */
@media (max-width: 700px) {
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body :is(h1, h2, h3, summary, legend) {
    text-wrap: balance;
    line-break: strict;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }
  body :is(h1, h2, h3) { white-space: normal !important; }
  body :is(h1, h2, h3) br { display: none !important; }
  body :is(p, li, label) { text-wrap: pretty; line-break: strict; }
  body :is(.comic-lead, .local-support-link span, .rinka-guide p,
    .section-lead, .hero-intro p, .ns-lead, .ds-section-head > p) {
    text-wrap: balance;
  }
  body :is(.comic-lead, .section-lead, .hero-intro p, .ns-lead) br { display: none; }
  body :is(.btn, .comic-button, .local-support-link a, .site-toc nav b,
    .ds-primary, .ds-secondary, .ns-feedback-grid b) { text-wrap: balance; }
  body .comic-home .local-support-link h2 {
    font-size: clamp(22px, 6.2vw, 28px);
    line-height: 1.55;
    letter-spacing: -.035em;
  }
  body .comic-home .local-support-link { padding-inline: clamp(20px, 5vw, 28px); }
  .comic-home .navigator-panel h3 { font-size: clamp(20px, 5.6vw, 24px) !important; }
  .comic-home .service-grid h3 { font-size: clamp(22px, 6vw, 26px); }
  .ns-support-card h3 { font-size: clamp(18px, 5vw, 20px); }
  .mobile-text-phrase { display: inline-block; max-width: 100%; }
  body .google-review-prompt > a { gap: 10px; }
  .review-link-text { min-width: 0; text-wrap: balance; }
  .google-review-prompt > a > b { flex-shrink: 0; }
  /* These two service names should remain a single, readable title. */
  body .comic-home .comic-feature-grid { grid-template-columns: 1fr; }
  body .comic-home .comic-feature-copy h3 {
    box-sizing: border-box;
    max-width: 100%;
    font-size: clamp(16px, 4.8vw, 24px);
    padding-inline: 8px;
    letter-spacing: -.055em;
    white-space: nowrap !important;
    text-wrap: nowrap;
    line-height: 1.5;
  }
  /* Fit short labels by reclaiming space, not by shrinking body copy. */
  body .comic-home :is(.comic-motto, .navigator-heading h2, .philosophy h2) {
    font-size: clamp(20px, 5.4vw, 26px);
    line-height: 1.6;
    letter-spacing: -.035em;
  }
  body .comic-home .navigator-panel { padding: 24px 18px; }
  body .comic-home .navigator-panel h3 {
    font-size: clamp(18px, 4.8vw, 22px) !important;
    line-height: 1.6 !important;
    letter-spacing: -.025em;
  }
  body .comic-home .rinka-guide { width: 100%; gap: 10px; }
  body .comic-home .rinka-guide img { width: clamp(64px, 19vw, 82px); }
  body .comic-home .rinka-speech { flex: 1; padding: 12px 10px; }
  body .comic-home .rinka-speech p { font-size: 14px; line-height: 1.8; text-wrap: pretty; }
  body .comic-home .rinka-speech b { display: inline-block; white-space: nowrap; }
  body .comic-home :is(.comic-button, .comic-feature-copy > b,
    .manifest-link, .pickup-copy a, .main-contact-form > button) {
    padding-inline: 10px;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 1.65;
    text-wrap: pretty;
  }
  body .comic-home .comic-actions { gap: 8px; }
  body .comic-home .comic-actions .comic-button { white-space: nowrap; text-wrap: nowrap; font-size: 13px; padding-inline: 6px; min-height: 46px; }
  body .comic-home .local-support-link a {
    padding-inline: 10px;
    font-size: 14px;
    letter-spacing: 0;
    text-wrap: pretty;
  }
  body .comic-home .service-grid h3 { font-size: clamp(20px, 5.5vw, 24px); }
  body .comic-home .store-info b { letter-spacing: 0; text-wrap: pretty; }
  /* Arrows must not take a line away from a link label. */
  body .comic-home :is(.manifest-link, .pickup-copy a) > span { flex-shrink: 0; }
}
@media (max-width: 360px) {
  body .comic-home .comic-actions { grid-template-columns: 1fr; gap: 12px; }
  body .comic-home .comic-actions .comic-button { font-size: 14px; padding-inline: 12px; }
}
