/* Phone composition for the shared masthead, product controls and first visit. */
@media (pointer: coarse), (max-width: 600px) {
  .site-nav .brand, .footer-brand .brand, .preview-platform-link, .globe-foot > a,
  .company-form-actions > a, .enterprise-footer-bottom :is(a, button),
  .footer-group a, .coverage-explorer .segmented button, .text-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .footer-group ul { gap: 0; }
  .footer-group h2 { margin-bottom: 7px; }
  .enterprise-footer-bottom > div { row-gap: 0; }
  .globe-controls button { width: 44px; height: 44px; }
  .globe-regions button { min-height: 44px; }
  .globe-canvas, .globe-canvas canvas { touch-action: pan-y pinch-zoom; }
  .company-confirm { min-height: 44px; }
}
@media (max-width: 600px), (pointer: coarse) and (max-height: 540px) {
  .home-page .montage-hero {
    --hero-bottom: max(10px, env(safe-area-inset-bottom), var(--notice-space, 0px));
    height: auto;
    min-height: 100svh;
    max-height: none;
    padding-block: max(88px, env(safe-area-inset-top)) calc(58px + var(--hero-bottom));
  }
  .home-page .montage-copy { padding: 0 18px; }
  /* Reserve room on the same paint that reveals the first-visit notice. */
  .home-page:has(#cookie-banner:not([hidden])) .montage-hero {
    --hero-bottom: max(var(--first-notice, 138px), env(safe-area-inset-bottom), var(--notice-space, 0px));
  }
  .home-page .montage-copy h1 { font-size: clamp(2rem, 9vw, 3.25rem); line-height: 1.1; }
  .home-page .montage-description { margin-top: 16px; text-wrap: balance; }
  .home-page .montage-footer { bottom: var(--hero-bottom); }
  .cookie-banner {
    left: max(10px, env(safe-area-inset-left)); right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom)); width: auto; max-width: 34rem; margin-inline: auto;
    padding: 12px 14px;
  }
  .cookie-banner h2 { font-size: 1rem; line-height: 1.3; margin: 0 0 3px; }
  .cookie-banner p { font-size: .8125rem; line-height: 1.45; }
  .cookie-banner-actions { gap: 8px; margin-top: 7px; }
  .cookie-banner-actions .button { flex: 1 1 auto; padding: 6px 12px; min-height: 44px; }
}
@media (pointer: coarse) and (orientation: landscape) and (max-height: 540px) {
  .home-page { --first-notice: 88px; }
  .cookie-banner { max-width: 48rem; display: grid; grid-template-columns: 1fr auto; column-gap: 18px; }
  .cookie-banner-actions { grid-column: 2; grid-row: 1 / 3; align-items: center; margin: 0; }
  .home-page .montage-hero { padding-top: 88px; }
  .home-page .montage-copy h1 { font-size: clamp(1.85rem, 4.65vw, 2.65rem); }
  .home-page .montage-description { margin-top: 8px; font-size: .975rem; }
  .home-page .montage-description br { display: none; }
}
@media (max-width: 600px) {
  .globe-regions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; padding: 6px; }
  .globe-regions button { padding: 4px; min-height: 44px; line-height: 1.2; white-space: normal; }
  .globe-detail { display: block; padding: 18px; }
  .globe-detail #globe-market { min-height: 44px; padding-bottom: 7px; }
  #globe-market-assets { margin: 8px 0; }
  .globe-asset-choice { min-height: 44px; }
  .globe-asset-choice:only-child { font-size: .9375rem; }
  #globe-asset-detail dl { display: flex; flex-wrap: wrap; gap: 12px 20px; }
  #globe-asset-detail dl > div { margin: 0; min-width: 5em; }
  #globe-asset-detail dd { font-size: .875rem; }
  .globe-foot { align-items: center; padding: 4px 18px; }
  .globe-stage.globe-unavailable { height: auto; padding: 16px; gap: 12px; }
  .globe-foot > span { font-size: .8125rem; }
  .globe-foot span span { margin-inline: 0; }
}
