.xy-mobile-content-toggle { display: none; }
@media (max-width: 767px) {
  .xy-corporate-page .xy-corp-hero.xy-theme-light-hero h1 { color: #101b33 !important; text-shadow: none !important; }
  .xy-corporate-page .xy-corp-hero.xy-theme-light-hero p { color: #40516c !important; text-shadow: none !important; }
  .xy-corporate-page .xy-corp-hero.xy-theme-light-hero .xy-corp-eyebrow { color: #075ac7 !important; }
  .xy-corporate-page .xy-corp-hero.xy-theme-light-hero .xy-corp-btn-ghost { color: #17233d !important; background: rgba(255,255,255,.9) !important; border-color: #a3b7d7 !important; }
  .xy-corporate-page .xy-corp-hero.xy-theme-light-hero::before {
    display: block;
    position: absolute;
    inset: 0;
    height: auto;
    background: linear-gradient(90deg, rgba(255,255,255,.94), rgba(255,255,255,.72));
    pointer-events: none;
  }
  .xy-cloud-page .xy-cloud-tags > [data-xy-mobile-repeated="1"] { display: none; }
  .xy-mobile-content-panel[hidden] { display: none !important; }
  .xy-mobile-collapsible .xy-cloud-section-title { margin-bottom: 16px; }
  .xy-mobile-content-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    margin: 0 0 16px;
    padding: 10px 16px;
    border: 1px solid #bfd2ec;
    border-radius: 8px;
    background: #fff;
    color: #075ac7;
    font: inherit;
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
  }
  .xy-mobile-content-toggle:focus-visible { outline: 2px solid #0b64f4; outline-offset: 3px; }
  .xy-mobile-collapsible { padding-top: 28px; padding-bottom: 28px; }
  .xy-cloud-page .xy-cloud-package-list,
  .xy-dedicated-page .xy-bgp-plans { overflow-wrap: anywhere; }
}

/* Mobile type roles and spacing, scoped to the existing public surfaces. */
@media (max-width: 767px) {
  body.xy-home .xy-banner { height: 320px !important; }
  body.xy-home .xy-banner .xy-banner-copy {
    width: 340px;
    max-width: 100% !important;
    padding-top: 0;
  }
  body.xy-home .xy-banner-copy h1,
  body.xy-home .xy-banner-copy h2 {
    max-width: 100% !important;
    font-size: 24px;
    line-height: 1.4;
  }
  body.xy-home .xy-banner-copy p { max-width: 100% !important; font-size: 14px !important; line-height: 1.65; }
  body.xy-home .xy-banner-actions a { min-height: 44px; font-size: 14px; }
  body.xy-home.xy-home-banner-light .xy-banner-mask {
    display: block !important;
    opacity: 1 !important;
    background: linear-gradient(90deg, rgba(247,251,255,.96), rgba(247,251,255,.9) 70%, rgba(247,251,255,.12)) !important;
    pointer-events: none;
  }
  body.xy-home .xy-products { padding-top: 24px; padding-bottom: 24px; }
  body.xy-home .xy-plans { padding-top: 32px; }
  body.xy-home .xy-section-title h2 { font-size: 22px !important; line-height: 1.4; }
  body.xy-home .xy-section-title p { font-size: 14px; line-height: 1.65; }
  body.xy-home .xy-plan-copy h3 { font-size: 24px; line-height: 1.4; }

  body.xy-cloud-page .xy-cloud-hero,
  body.xy-dedicated-page .xy-cloud-hero {
    min-height: 0;
    padding: 40px 0 28px;
  }
  body.xy-cloud-page .xy-cloud-hero-copy h1,
  body.xy-dedicated-page .xy-cloud-hero-copy h1 { font-size: 26px; line-height: 1.4; }
  body.xy-cloud-page .xy-cloud-hero-copy p,
  body.xy-dedicated-page .xy-cloud-hero-copy p { font-size: 14px; line-height: 1.7; }
  body.xy-cloud-page .xy-cloud-section-title h2,
  body.xy-cloud-page .xy-cloud-solution-heading h2,
  body.xy-dedicated-page .xy-cloud-section-title h2,
  body.xy-dedicated-page .xy-cloud-solution-heading h2 { font-size: 22px !important; line-height: 1.4; }
  body.xy-cloud-page section.xy-mobile-collapsible,
  body.xy-dedicated-page section.xy-mobile-collapsible { padding-top: 28px; padding-bottom: 28px; }

  /* Short feature cards can share a row; detailed plans retain the full width. */
  body.xy-cloud-page .xy-cloud-point-grid,
  body.xy-cloud-page .xy-cloud-advantages .xy-cloud-feature-grid,
  body.xy-dedicated-page .xy-cloud-point-grid,
  body.xy-dedicated-page .xy-cloud-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
  }
  body.xy-cloud-page .xy-cloud-point-card,
  body.xy-dedicated-page .xy-cloud-point-card,
  body.xy-cloud-page .xy-cloud-advantages .xy-cloud-feature-grid article,
  body.xy-dedicated-page .xy-cloud-feature-grid article {
    display: block !important;
    min-width: 0;
    min-height: 0 !important;
    padding: 14px !important;
  }
  body.xy-cloud-page .xy-cloud-point-card h3,
  body.xy-dedicated-page .xy-cloud-point-card h3,
  body.xy-cloud-page .xy-cloud-advantages .xy-cloud-feature-grid article h3,
  body.xy-dedicated-page .xy-cloud-feature-grid article h3 { margin: 10px 0 8px !important; font-size: 15px !important; line-height: 22px !important; }
  body.xy-cloud-page .xy-cloud-point-card p,
  body.xy-dedicated-page .xy-cloud-point-card p,
  body.xy-cloud-page .xy-cloud-advantages .xy-cloud-feature-grid article p,
  body.xy-dedicated-page .xy-cloud-feature-grid article p { margin: 0; font-size: 14px !important; line-height: 22px !important; overflow-wrap: anywhere; }
  body.xy-cloud-page .xy-cloud-advantages .xy-cloud-feature-grid article .xy-cloud-icon,
  body.xy-dedicated-page .xy-cloud-feature-grid article .xy-cloud-icon { width: 32px !important; height: 32px !important; }
  body.xy-cloud-page .xy-cloud-advantages .xy-cloud-feature-grid article::after,
  body.xy-dedicated-page .xy-cloud-feature-grid article::after { display: none; }
  /* Plans remain full width; their six specifications form three compact rows. */
  #cloud-plans .xy-cloud-package-grid { grid-template-columns: minmax(0, 1fr) !important; }
  #cloud-plans .xy-cloud-package-card { min-width: 0; padding: 16px !important; }
  #cloud-plans .xy-cloud-package-head h3 { font-size: 16px; line-height: 24px; }
  #cloud-plans .xy-cloud-package-head p { display: block !important; overflow: visible; white-space: normal; font-size: 13px !important; line-height: 20px !important; -webkit-line-clamp: unset; }
  #cloud-plans .xy-cloud-package-card ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  #cloud-plans .xy-cloud-package-card ul li {
    display: block !important;
    min-width: 0;
    overflow: visible;
    padding: 6px !important;
  }
  #cloud-plans .xy-cloud-package-card ul li b { display: block; font-size: 12px; line-height: 20px !important; }
  #cloud-plans .xy-cloud-package-card ul li span {
    display: block;
    width: auto !important;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
    white-space: normal;
    font-size: 13px !important;
    line-height: 20px !important;
    overflow-wrap: anywhere;
  }
  #cloud-plans .xy-cloud-package-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 8px; }
  #cloud-plans .xy-cloud-package-actions > :only-child { grid-column: 1 / -1; }
  #cloud-plans .xy-cloud-package-btn {
    grid-area: auto;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    height: auto !important;
    margin: 0;
    padding: 8px 6px !important;
    border-radius: 8px;
    white-space: normal;
    font-size: 13px !important;
    line-height: 20px;
  }
}
