/* Shared alignment of the two actions and four feature labels. */
.hero-copy{min-width:0}
.hero-copy .hero-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:min(100%,420px);gap:10px}
.hero-copy .hero-actions .btn{min-width:0;padding:14px 10px}
.hero-copy .hero-feature-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:min(100%,420px);margin-top:16px;padding:14px 16px;gap:12px 16px}
.hero-copy .hero-feature-strip span{min-width:0;justify-content:flex-start;border:0;padding:0;line-height:1.45}
.hero-copy .hero-feature-strip span:not(:last-child)::after{display:none}
.hero-visual .float-card{width:190px;left:0}
.hero-visual .float-card strong{font-size:20px;word-break:keep-all}
.hero-visual .float-card.second{left:0}
.hero-visual .float-card.second strong{font-size:14px}

@media(max-width:1199px){
  .hero-visual .float-card{display:none}
}
@media(min-width:641px) and (max-width:980px){
  .hero-visual{min-height:530px}
  .hero-visual .phone{width:280px;height:510px;left:50%;right:auto;transform:translateX(-50%)}
}

@media(max-width:640px){
  html{scroll-padding-bottom:calc(82px + env(safe-area-inset-bottom))}
  .hero .hero-grid{display:flex;flex-direction:column;align-items:stretch;gap:0}
  .hero-copy{display:contents}
  .hero-copy h1{order:1}
  .hero-copy>p{order:2}
  .hero-copy .hero-actions{order:3;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:22px}
  .hero-copy .hero-actions .btn{width:100%;min-height:48px;padding:12px 6px;font-size:clamp(12px,3.5vw,14px);white-space:nowrap}
  .hero .hero-visual{display:block!important;order:4;position:relative;width:100%;height:350px;min-height:0;margin:24px 0 0;transform:none}
  .hero .hero-visual .float-card{display:none}
  .hero .hero-visual .phone{position:absolute;width:280px;height:510px;left:50%;right:auto;top:0;margin:0;transform:translateX(-50%) scale(.66);transform-origin:top center;box-shadow:0 18px 35px rgba(16,35,62,.16)}
  .hero-copy .hero-feature-strip{order:5;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;padding:15px 18px;margin-top:8px;font-size:12px;box-shadow:none}
  .hero-copy .hero-feature-strip span{font-size:12px;white-space:nowrap}

  #price .price-card{padding:22px 12px}
  #price .plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:stretch;margin-top:30px}
  #price .plan-card{min-width:0;padding:18px 10px 14px;border-radius:14px;display:flex;flex-direction:column}
  #price .plan-card .plan-name{font-size:16px}
  #price .plan-card .recommend{right:6px;top:-13px;padding:5px 7px;font-size:9px;white-space:nowrap}
  #price .plan-discount{display:flex;flex-direction:column;align-items:flex-start;gap:5px;align-self:flex-start;max-width:100%;font-size:25px;margin-top:14px;padding:9px 10px;line-height:1}
  #price .plan-discount small{font-size:10px;white-space:nowrap;line-height:1.2}
  #price .plan-original{font-size:10px;white-space:nowrap;margin-top:15px;letter-spacing:-.25px}
  #price .plan-price{font-size:clamp(20px,5.8vw,25px);letter-spacing:-.6px;line-height:1.35;white-space:nowrap}
  #price .plan-price small{font-size:10px;letter-spacing:0;white-space:normal;line-height:1.4;margin-top:3px}
  #price .plan-meta{font-size:11px;line-height:1.5;word-break:keep-all;overflow-wrap:break-word;margin-top:12px}
  .hero-grid>*,.plan-grid>*{min-width:0}
  .brand{min-width:0}
  .header-inner{gap:12px;height:60px;min-height:60px}
}

@media(max-width:350px){
  .hero-copy .hero-feature-strip{padding:13px 12px;gap:11px 8px}
  .hero-copy .hero-feature-strip span{font-size:11px}
  #price .plan-card{padding-left:8px;padding-right:8px}
  #price .plan-discount{padding:8px;font-size:23px}
}
