/* Mobile refinements keep the same content and visual hierarchy at every width. */
.mobile-login{display:none}
.footer-grid>*{min-width:0}
@media(max-width:1100px){
  .nav-shell nav{overscroll-behavior:contain}
  .mobile-login{display:flex;align-items:center;justify-content:space-between;min-height:48px;margin-top:16px;padding:14px 0;border-top:1px solid var(--line);font-size:15px;font-weight:500}
  .mobile-menu-toggle{min-width:44px;min-height:44px;align-items:center}
}
@media(max-width:700px){
  html{scroll-padding-top:92px}
  .hero h1{font-size:clamp(34px,8.7vw,48px);line-height:1.14;text-wrap:balance}
  .product-copy h2,.product-slide:not(:first-child) .product-copy h2{font-size:clamp(30px,8.2vw,38px);text-wrap:balance}
  .product-copy .eyebrow{line-height:1.7}
  .product-copy .button{white-space:normal}
  .carousel-controls{gap:12px}
  .carousel-play{width:44px;height:44px}
  .carousel-playback{gap:6px;min-width:0}
  .circle-button{width:44px;height:44px}
  .arrow-controls{gap:6px;flex:none}
  .carousel-dots{gap:4px}
  .carousel-dots button{width:clamp(14px,4.5vw,24px)}
  .solution-tabs{overscroll-behavior-x:contain;scroll-padding-inline:12px}
  .solution-copy .text-link,.build-story>.text-link{min-height:44px}
  .build-intro h2,.stories-intro h2{font-size:clamp(32px,8.4vw,40px)}
  .build-story-heading,.editor-bar,.preview-dashboard-title{min-width:0}
  .build-story .workflow{overflow-wrap:anywhere;font-size:11px}
  .preview-balances>div{min-width:0;padding:10px}
  .preview-balances strong{font-size:clamp(14px,4vw,17px)}
  .preview-transaction{flex-wrap:wrap;row-gap:6px}
  .partner-card{min-height:340px;--card-padding:24px}
  .partner-toggle{width:44px;height:44px;top:18px;right:18px}
  .partner-card h3{font-size:clamp(25px,7vw,30px)}
  .partner-lead{font-size:16px}
  .testimonial-card{padding:24px}
  .testimonial-card blockquote{font-size:clamp(21px,5.8vw,26px);line-height:1.5}
  .contact-grid h2{font-size:clamp(32px,8.6vw,42px)}
  .contact-grid .button{width:100%;min-width:0;max-width:380px}
  .footer-grid{column-gap:24px;row-gap:28px}
  .footer-column a,.footer-column button,.footer-column .footer-label{display:flex;align-items:center;min-height:44px;margin-bottom:0;padding-block:8px;line-height:1.5}
  .footer-bottom>.footer-meta{display:flex;gap:16px 24px}
  .social-links{flex-basis:100%;gap:12px;margin-left:-12px}
  .social-links a{width:44px;height:44px}
  dialog{max-height:calc(100dvh - 24px);width:calc(100% - 24px);padding:32px 22px 24px;overscroll-behavior:contain;border-radius:18px}
  .dialog-close{width:44px;height:44px;top:8px;right:8px}
  dialog h2{font-size:30px;padding-right:6px}
  dialog input,dialog select,dialog textarea{font-size:16px;min-height:48px}
  dialog textarea{min-height:110px}
  dialog .button{width:100%}
  .form-status{overflow-wrap:anywhere}
  .nav-actions .button{min-height:44px}
}
@media(max-width:370px){
  .nav-shell{gap:6px}
  .nav-actions .button{padding-inline:10px;font-size:12px}
  .brand,.brand img{width:110px}
  .product-copy{padding-inline:20px}
  .carousel-controls{gap:8px}
  .carousel-playback{gap:4px}
  .carousel-dots{gap:3px}
  .carousel-dots button{width:14px}
  .partner-card{min-height:340px}
  .capabilities-mobile{padding-inline:16px}
  .capability-grid{column-gap:12px}
  .build-story{padding:18px}
  .build-story h3{font-size:21px}
}
