/* Signal Brief rebuilt site: very narrow screens (high page zoom).
   Loaded on every rebuilt route last, after /css/site.css, /css/site-legal.css, /css/site-pricing.css and /css/site-brief.css, so these rules win
   the cascade over rules of equal specificity in all four. Authoring copy: design-system/site/2026-08-16/site-high-zoom.css
   (byte-exact mirror, checked by tools/build-rebuilt-site-pages.mjs --check). */
@media (max-width: 300px) {
  /* A phone at 200% page zoom is about 195px wide. Headings step down so whole words fit the
     line, images and icons sit above their text, phrases kept whole on wider screens may wrap and
     the plan badge drops below its plan, so no page scrolls sideways. Only a word longer than the
     whole line breaks, and never with an added hyphen (so an email address copies as written). */
  /* The menu wraps whole labels onto rows instead of breaking each label inside its slot. */
  .masthead-inner > .nav { flex-wrap: wrap; justify-content: flex-start; gap: 0 16px; white-space: nowrap; }
  main h1 { font-size: 26px !important; }
  main h2 { font-size: 22px !important; }
  main h3 { font-size: 19px !important; }
  /* Balanced and "pretty" wrapping can split a word that fits once break-word is on. */
  main :is(h1, h2, h3) { text-wrap: wrap !important; }
  .footer-navigation, .footer-nav-group:first-child .footer-links { grid-template-columns: minmax(0, 1fr); }
  /* The trial terms may wrap inside a phrase here; wider screens keep each phrase whole (pricing layer 3). */
  .trial-chip span { white-space: normal; }
  .measurement-choices form { padding-inline: 12px; font-size: 15px; }
  .measurement-choices form > p:first-of-type { padding-right: 0; padding-top: 36px; }
  main :is(h1, h2, h3, p, li, dd), .site-footer :is(p, label) { overflow-wrap: break-word; }
  :is(main, .site-footer) a:not(.btn) { overflow-wrap: anywhere; }
  .home .story-row:has(.story-art) { grid-template-columns: minmax(0, 1fr); }
  .home .principle { padding-left: 0; }
  .home .principle-icon { position: static; display: block; margin-bottom: 8px; }
  .transaction-state-stack { grid-template-columns: minmax(0, 1fr); }
  :is(.signin-card, .callback-card, .transaction-card, .transaction-state-card, .public-feature-card, .brief-subscription-summary, .home .independence-card-layout) { padding-inline: 12px; }
  :is(.signin-card, .callback-card, .transaction-card) h1, .brief-subscription-summary h2 { font-size: 20px !important; }
  .legal-notice { padding-inline: 10px; }
  .legal-notice :is(ul, ol) { padding-left: 18px; }
  .nowrap { white-space: normal; }
  .billing-option { grid-template-columns: 24px minmax(0, 1fr); }
  .billing-badge { grid-column: 2; justify-self: start; white-space: normal; }
  /* On the pricing card the price also leaves the name's row: name, price, badge, detail. */
  .page-pricing .billing-option .billing-price { grid-column: 2 / -1; grid-row: 2; margin-top: 2px; }
  .page-pricing .billing-option .billing-badge { grid-row: 3; }
  .page-pricing .billing-option .billing-detail { grid-row: 4; }
}
