
/* ===== Mobile-friendly patch (applies only <=600px; desktop unchanged) ===== */
@media (max-width:600px){
  html,body{overflow-x:clip !important;max-width:100vw !important}
  .sec6c,.sec6c-rail-wrap,.sec6c-viewport,.tmon,.tmon-track,.tmon-viewport{overflow-x:hidden !important;max-width:100vw !important}
  .sec6c-title{white-space:normal !important}

  /* Nav circle buttons (hamburger + close): premium light instead of black */
  button[class*="bg-gray-900"][class*="rounded-full"]{
    background:rgba(255,255,255,.92) !important;color:#141a28 !important;
    border:1px solid rgba(20,26,40,.10) !important;
    box-shadow:0 6px 18px rgba(20,26,40,.12) !important;
    -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
    width:42px;height:42px;
  }
  [class*="pointer-events-auto"][class*="z-50"] button[class*="bg-gray-900"][class*="rounded-full"]{
    background:#eef0f4 !important;border:1px solid rgba(20,26,40,.06) !important;
    box-shadow:none !important;-webkit-backdrop-filter:none;backdrop-filter:none !important;
  }

  /* ===== Apple-style FULL-SCREEN white menu (ONLY when open = pointer-events-auto) ===== */
  [class*="z-50"][class*="pointer-events-auto"]{ background:#fff !important; animation:pgaMenuFade .24s ease both; }
  @keyframes pgaMenuFade{ from{opacity:0} to{opacity:1} }
  [class*="z-50"][class*="pointer-events-auto"] [class*="rounded-2xl"][class*="bg-white"]{
    position:absolute !important; inset:0 !important; margin:0 !important;
    width:100% !important; max-width:100% !important; height:100% !important;
    border-radius:0 !important; box-shadow:none !important;
    transform:none !important; transition:none !important;
    display:flex !important; flex-direction:column !important;
    padding:18px 26px calc(26px + env(safe-area-inset-bottom)) !important;
  }
  [class*="z-50"][class*="pointer-events-auto"] .flex.flex-col.gap-1{ margin-top:4vh !important; gap:2px !important; }
  [class*="z-50"][class*="pointer-events-auto"] a[class*="text-[28px]"]{
    font-size:26px !important; line-height:1.75 !important;
    font-weight:500 !important; letter-spacing:-.01em !important;
  }
  [class*="z-50"][class*="pointer-events-auto"] a.pga-btn{
    margin-top:auto !important; padding:12px 12px 12px 22px !important;
  }
  [class*="z-50"][class*="pointer-events-auto"] a.pga-btn > span:first-child{ font-size:16px !important; font-weight:600 !important; }
  [class*="z-50"][class*="pointer-events-auto"] a.pga-btn > span:last-child{ height:34px !important; width:34px !important; }
  [class*="z-50"][class*="pointer-events-auto"] a.pga-btn svg{ color:#1E3A8A !important; stroke:#1E3A8A !important; }

  /* "super smart building blocks" section: bigger title + larger, centered 3D blocks */
  .cubes-h2{ font-size:34px !important; line-height:1.12 !important; text-align:left !important; }
  .cubes-title{ text-align:left !important; align-items:flex-start !important; }
}
