/* Shared phone layout: preserve Green Room, keep both account paths in reach. */
.mobile-account-actions{display:none}
@media(max-width:760px){
  html{scroll-padding-bottom:104px;scroll-behavior:auto}
  body{padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))}
  .mobile-account-actions{position:fixed;inset:auto 0 0;z-index:100;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px 5% calc(12px + env(safe-area-inset-bottom,0px));background:var(--paper);border-top:1px solid #b7c8ac;box-shadow:0 -5px 24px #073b2e14}
  .mobile-account-actions a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:56px;padding:10px 9px;border:1px solid var(--forest);border-radius:13px;color:var(--forest);font:800 14px/1.35 var(--body);text-align:center;text-decoration:none}
  .mobile-action-icon{display:block;width:20px;height:20px;flex:0 0 20px;transform-box:fill-box;transform-origin:center}
  .mobile-action-label{min-width:0;line-height:1.2;white-space:normal;overflow-wrap:normal}
  .mobile-account-actions .mobile-trial{background:var(--green)}
  .mobile-account-actions .mobile-renew{background:var(--pistachio)}
  .mobile-account-actions a:focus-visible{outline:3px solid #1b8356;outline-offset:3px}
  .site-chat-launcher{bottom:calc(96px + env(safe-area-inset-bottom,0px));right:16px}
  .top-note,.header .header-actions>a{display:none}
  .header{gap:12px}
  .header-actions{gap:8px}
  .header .menu-toggle{width:44px;height:48px;flex:0 0 44px;align-items:center;justify-content:center;padding:10px;border:1px solid #e4edcc40;border-radius:12px}
  .header .button.compact{min-height:48px;font-size:13px;min-width:112px;justify-content:center;padding:0 16px}
  .mobile-nav{top:82px;z-index:90;padding:14px 6% 18px;max-height:calc(100dvh - 166px - env(safe-area-inset-bottom,0px))}
  .mobile-nav:not([hidden]){gap:0}
  .mobile-nav a{display:flex;align-items:center;min-height:48px;padding:10px 0;border-bottom:1px solid #e4edcc24;font-size:15px;line-height:1.5}
  .mobile-nav a:last-child{border-bottom:0}
  .inner-page :is(.page-masthead-copy,.contact-options,.account-grid,.payment-note)>*{min-width:0}
  .page-masthead h1,.source-masthead h1{overflow-wrap:anywhere}
  .page-actions .button,.hero-cta .button,.closing .button{min-height:52px;font-size:14px;justify-content:center;text-align:center;padding:12px 20px}
  .page-actions .text-link,.device-copy .text-link,.help-intro .text-link{display:inline-flex;align-items:center;min-height:44px;font-size:14px}
  .screen-control>div button{width:44px;height:44px}
  .payment-control button{min-height:44px;font-size:13px;padding:11px 16px}
  .footer-links{gap:28px 20px}
  .footer-links h3{font-size:13px;margin-bottom:4px}
  .footer-links>div{gap:0}
  .footer-links a,.footer-links button{display:flex;align-items:center;min-height:44px;font-size:13px;line-height:1.5;padding:8px 0}
  .footer-bottom{line-height:1.7}
  .contact-options>a{padding-top:24px;padding-bottom:24px}
  .account-grid>a,.membership-slot,.chat-panel{min-width:0;overflow-wrap:anywhere}
  :is(input,select,textarea){scroll-margin-block:24px 110px}
  dialog{max-width:calc(100% - 32px);max-height:calc(100dvh - 36px);overflow:auto}
}
@media(max-width:600px){
  .plan-grid{grid-template-columns:minmax(0,1fr);gap:20px}
  .plan-card{padding:28px 26px}
  .plan-card h3{font-size:32px}
  .plan-duration{font-size:12px}
  .price{font-size:54px;margin-top:20px}
  .price .currency{font-size:25px}
  .billing{font-size:13px;min-height:0;margin:12px 0 20px;line-height:1.7}
  .plan-card .plan-button{width:100%;min-height:52px;font-size:14px;justify-content:center}
  .plan-card ul{font-size:13px;line-height:2.2;margin-top:22px}
  .featured,.plan-card:nth-child(3){margin-top:0}
  .plan-card.featured{margin-top:14px}
  .best-value{font-size:10px;line-height:27px;top:-25px}
  .plans-foot{font-size:12px;line-height:1.8}
  .plans-foot .inline-button{display:inline-flex;min-height:44px;align-items:center}
  .hero-cta{align-items:flex-start;flex-direction:column;gap:12px}
  .hero-cta .button{width:100%}
  .hero-cta>span{width:auto;max-width:none;font-size:12px;line-height:1.7}
}
@media(max-width:360px){
  .header .button.compact{min-width:100px;padding:0 10px;font-size:12px}
  .header{gap:8px}
  .mobile-account-actions{gap:8px;padding-left:4%;padding-right:4%}
  .mobile-account-actions a{font-size:13px}
  .plan-card{padding:25px 22px}
}
/* Brief icon accents, then a long rest; labels and hit areas stay stationary. */
@media(max-width:760px) and (prefers-reduced-motion:no-preference){
  .mobile-trial .mobile-action-icon{animation:mobile-trial-pulse 8s ease-in-out infinite}
  .mobile-renew .mobile-action-icon{animation:mobile-renew-turn 8s cubic-bezier(.22,.61,.36,1) 1.1s infinite}
}
@keyframes mobile-trial-pulse{0%,12%,100%{transform:scale(1)}4%{transform:scale(1.12)}8%{transform:scale(.98)}}
@keyframes mobile-renew-turn{0%{transform:rotate(0)}12%,100%{transform:rotate(360deg)}}
