/* CloudWAN landing: compact layered hero inspired by the reference mobile layout. */
@media (max-width: 700px) {
  html, body { max-width: 100%; overflow-x: clip; }
  body { background: #17191c; }
  header {
    position: relative; z-index: 5; width: max-content; max-width: calc(100% - 24px);
    height: 54px; padding: 5px 7px 5px 17px; margin: 18px auto 0;
    display: flex; justify-content: center; gap: 14px;
    border: 1px solid rgba(255,255,255,.15); border-radius: 999px;
    background: #202228; box-shadow: 0 12px 30px rgba(0,0,0,.22);
  }
  header .brand { padding: 0 14px 0 0; font-size: 15px; line-height: 42px; white-space: nowrap; border-right: 1px solid rgba(255,255,255,.16); }
  header nav { display: none; }
  header .ghost { display: inline-flex; align-items: center; justify-content: center; padding: 0 19px; height: 42px; font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
  .hero {
    position: relative; isolation: isolate; display: block; overflow: hidden;
    min-height: 690px; padding: 0 20px 70px; margin-top: -72px;
    background: radial-gradient(ellipse at 74% 36%, #252b54 0%, #1b243b 43%, #17191c 76%);
  }
  .hero:after { content: ''; position: absolute; z-index: 1; pointer-events: none; inset: 45% 0 0; background: linear-gradient(transparent 0%, rgba(17,19,26,.18) 57%, #111217 100%); }
  .hero-copy { position: relative; z-index: 3; padding-top: 112px; }
  .availability { padding: 8px 12px; font-size: 10px; letter-spacing: 1px; white-space: nowrap; max-width: 100%; }
  .availability span { flex: 0 0 8px; width: 8px; height: 8px; }
  .hero h1, .hero-copy h1 {
    min-height: 0; width: 100%; max-width: none; margin: 42px 0 22px;
    font-size: clamp(38px, 10.3vw, 53px); font-weight: 700; line-height: 1.12; letter-spacing: -2.3px;
  }
  .hero h1 em { display: block; width: 100%; min-height: 2.3em; color: #7970ff; }
  #heroWord { display: block; overflow-wrap: normal; hyphens: none; }
  .hero p { max-width: 100%; margin: 0; font-size: 15px; line-height: 1.65; color: #aeb2bc; }
  .hero p br { display: initial; }
  .hero .actions { position: relative; z-index: 4; margin-top: 54px; display: flex; align-items: center; gap: 10px; }
  .hero .actions .primary { flex: 0 0 auto; min-width: 142px; min-height: 54px; padding: 13px 24px; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 17px; }
  .hero .actions .primary b { margin: 0; color: #17191c; font-size: 21px; font-weight: 400; }
  .hero .actions .text { display: none; }
  .phone-stage { position: absolute; z-index: 0; right: -18px; top: 125px; width: 55%; height: 470px; display: block; pointer-events: none; }
  .phone-float { width: 100%; height: 100%; }
  .phone-float .phone { position: absolute; width: 100%; height: 100%; inset: 0; opacity: .46; border-radius: 30px; }
  .phone-float .phone-b, .phone-float .phone-c { display: none; }
  .phone .power { top: 90px; }
  .features { margin-top: 50px; }
}
@media (max-width: 360px) {
  header { margin-top: 12px; height: 50px; }
  header .brand { font-size: 13px; line-height: 38px; }
  header .ghost { height: 38px; font-size: 13px; }
  .hero { margin-top: -62px; min-height: 640px; padding-left: 16px; padding-right: 16px; }
  .hero-copy { padding-top: 100px; }
  .hero h1, .hero-copy h1 { font-size: clamp(33px, 10vw, 38px); letter-spacing: -1.5px; }
  .availability { font-size: 9px; }
  .phone-stage { right: -12px; width: 55%; }
}
@media (prefers-reduced-motion: reduce) {
  .phone-float { animation: none; }
  #heroWord { transition: none; }
}
