/* Mobile-only refinement for the AceBGCSE pricing page. Desktop remains untouched. */
.hero-mobile-copy{display:none}
.mobile-overlay{display:none}
.mobile-drawer-head,.mobile-drawer-section,.mobile-drawer-divider{display:none}
@media(max-width:980px){
  body{padding-top:64px}
  body.mobile-menu-open{overflow:hidden}
  .desktop-nav,.theme-button,.nav-divider,.logged-out-auth,.account-chip{display:none!important}
  .menu-button{display:grid;width:42px;height:42px;place-items:center;border-radius:10px}
  .menu-button:hover,.menu-button:active{background:rgba(255,255,255,.055)}
  html[data-theme="light"] .menu-button:hover,html[data-theme="light"] .menu-button:active{background:rgba(15,23,42,.055)}

  .mobile-overlay{display:block;position:fixed;inset:0;z-index:420;background:rgba(0,0,0,.52);backdrop-filter:blur(4px);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .24s ease,visibility .24s ease}
  .mobile-overlay.open{opacity:1;visibility:visible;pointer-events:auto}
  .mobile-panel{display:block;position:fixed;inset:0 auto 0 0;z-index:430;width:min(88vw,384px);height:100dvh;padding:0;background:color-mix(in srgb,var(--bg) 96%,transparent);border:0;border-right:1px solid var(--line);box-shadow:24px 0 64px rgba(0,0,0,.35);overflow-y:auto;overscroll-behavior:contain;transform:translateX(-102%);transition:transform .28s cubic-bezier(.22,.61,.36,1);backdrop-filter:blur(22px)}
  .mobile-panel.open{transform:translateX(0)}
  .mobile-drawer-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;background:color-mix(in srgb,var(--bg) 94%,transparent);border-bottom:1px solid var(--line);backdrop-filter:blur(18px)}
  .mobile-drawer-brand{display:flex;align-items:center;gap:11px;min-width:0}.mobile-drawer-brand .brand-mark{width:36px;height:36px;flex:0 0 36px}.mobile-drawer-brand-copy{min-width:0}.mobile-drawer-title{display:block;font-size:16px;font-weight:800;letter-spacing:-.025em}.mobile-drawer-subtitle{display:block;margin-top:2px;color:var(--subtle);font-size:10.5px;font-weight:600}
  .mobile-close{width:38px;height:38px;border:0;border-radius:10px;display:grid;place-items:center;background:transparent;color:var(--text);cursor:pointer}.mobile-close:hover,.mobile-close:active{background:rgba(255,255,255,.055)}html[data-theme="light"] .mobile-close:hover,html[data-theme="light"] .mobile-close:active{background:rgba(15,23,42,.055)}.mobile-close svg{width:20px;height:20px}
  .mobile-drawer-section{display:block;padding:20px 18px 4px}.mobile-drawer-label{margin:0 0 8px;padding:0 10px;color:var(--subtle);font-size:10px;font-weight:800;letter-spacing:.18em;text-transform:uppercase}.mobile-drawer-divider{display:block;height:1px;margin:16px 18px;background:linear-gradient(90deg,transparent,var(--line),transparent)}
  .mobile-link{width:100%;min-height:50px;padding:0 12px;border-radius:13px;display:flex;align-items:center;gap:13px;color:var(--muted);font-size:15px;font-weight:650;text-align:left;border:0;background:transparent;cursor:pointer}.mobile-link svg{width:20px;height:20px;flex:0 0 20px}.mobile-link:hover,.mobile-link:active,.mobile-link.active{color:#00E5FF;background:rgba(0,229,255,.075)}
  .mobile-link.primary-mobile{margin-top:5px;background:linear-gradient(90deg,rgba(0,229,255,.96),rgba(91,124,255,.96));color:#031018;box-shadow:0 10px 26px rgba(0,229,255,.12)}.mobile-link.primary-mobile:hover,.mobile-link.primary-mobile:active{color:#031018;background:linear-gradient(90deg,#00E5FF,#5B7CFF)}
  .mobile-account-card{display:flex;align-items:center;gap:12px;margin:0 0 8px;padding:12px;border:1px solid var(--line);border-radius:13px;background:var(--card-soft)}.mobile-account-avatar{width:38px;height:38px;flex:0 0 38px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(135deg,#00E5FF,#5B7CFF);color:#fff;font-size:12px;font-weight:800}.mobile-account-copy{min-width:0}.mobile-account-email{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text);font-size:12.5px;font-weight:650}.mobile-account-status{display:block;margin-top:3px;color:var(--subtle);font-size:10.5px}
  .mobile-theme-icon{width:20px;height:20px;flex:0 0 20px}

  .hero-desktop-copy{display:none}.hero-mobile-copy{display:inline}
  .pricing-hero{padding:35px 0 24px}.pricing-hero:before{top:-260px;width:520px;height:390px}.hero-kicker{margin-bottom:9px;font-size:10px;letter-spacing:.10em}.pricing-hero h1{font-size:34px;letter-spacing:-.045em}.pricing-hero p{max-width:360px;margin-top:10px;font-size:14px;line-height:1.52}
  #pricing-options,.billing-section,.faq-section{scroll-margin-top:76px}
  .plans-section{padding:2px 0 52px}.plans-grid{grid-template-columns:1fr;gap:12px}.plan{padding:21px 18px 20px;border-radius:14px}.plan:hover{transform:none}.plan-label{min-height:18px;margin-bottom:7px;font-size:10px}.plan h2{font-size:22px}.plan-subtitle{min-height:0;margin:0 0 19px;font-size:13.5px;line-height:1.45}.price-row{min-height:48px;margin-bottom:18px}.price{font-size:40px}.price-period{font-size:12.5px}.coming-price{font-size:21px}.plan-button{min-height:46px;margin-bottom:10px;font-size:13px}.plan-note{min-height:0;margin:0 0 17px;font-size:10.5px}.features-title{margin-bottom:12px;padding-top:16px;font-size:12.5px}.features{gap:10px}.features li{font-size:12.8px;line-height:1.43}
  .billing-section,.faq-section{padding:46px 0}.section-head{display:block;margin-bottom:22px}.section-head h2,.faq-section h2{font-size:26px}.section-head p{max-width:none;margin-top:9px;font-size:13.3px;line-height:1.55}.billing-grid{grid-template-columns:1fr;gap:10px}.billing-item{padding:18px;border-radius:13px}.billing-icon{width:34px;height:34px;margin-bottom:13px}.billing-item h3{font-size:14.5px}.billing-item p{font-size:12.8px;line-height:1.55}.faq-section h2{margin-bottom:19px}.faq-list{max-width:none}summary{padding:17px 38px 17px 0;font-size:13.8px;line-height:1.4}details p{margin:-2px 0 17px;font-size:12.8px;line-height:1.58}
  footer{padding:30px 0 26px}.footer-row{display:block}.footer-links{justify-content:flex-start;margin-top:18px;gap:14px}.footer-copy,.footer-links a{font-size:11px}.footer-bottom{margin-top:20px;padding-top:15px;font-size:10px}
}
@media(max-width:620px){
  .container{width:min(var(--max),calc(100% - 24px))}
  .nav-shell{padding:0 12px}.brand-name{display:none}
  .pricing-hero{padding:31px 0 21px}.pricing-hero h1{font-size:32px}.pricing-hero p{font-size:13.5px}
  .plan{padding:20px 17px 19px}.price{font-size:39px}
  .billing-section,.faq-section{padding:42px 0}
  .modal{padding:20px;border-radius:14px}.modal-actions{display:grid}.modal-actions button{width:100%}
}
