

.hero-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 34px; }
.hero-map { order: -1; justify-self: center !important; margin: 0 !important; width: 100%; }
.hero-copy { order: 0; justify-self: center; margin: 0; width: 100%; }

.hero-map { max-width: 100% !important; }

.hero-map { max-width: 100% !important; }
@media (min-width: 641px) {
  .hero-map:not(.map-fs):not(.mapf-fs):not(.globe-on) {
    max-width: min(100%, calc((100vh - 235px) * 2.6)) !important;
  }
  .hero-map:not(.map-fs):not(.mapf-fs):not(.globe-on) .map-panel {
    aspect-ratio: auto;
    height: min(calc((100vw - 35px) / 1.7), calc(100vh - 235px));
    max-height: none;
  }
}

.hero-map.globe-on { max-width: min(100%, 86vh) !important; }

.hero-map.map-fs { max-width: none !important; }
.hero-map.mapf-fs { max-width: none !important; }
.hero-map:fullscreen { max-width: none !important; }
.hero-map:-webkit-full-screen { max-width: none !important; }

.hero-copy { max-width: 860px; text-align: center; }
.hero-copy .hero-title, .hero-copy .lede { text-align: center; }

.hero-copy .hero-title .ht-when { margin-left: auto; margin-right: auto; }
.hero-copy .lede { max-width: 640px; margin-left: auto; margin-right: auto; }
.hero-copy .app-launch { margin-left: auto; margin-right: auto; text-align: left; }
.hero-copy .ai-prompt { max-width: 560px; margin-left: auto; margin-right: auto; justify-content: center; }
.hero-copy .hero-howto { margin-left: auto; margin-right: auto; }
.hero-copy .hero-register { margin-left: auto; margin-right: auto; }
#heroLive, #heroLive .hl-rot, #heroLive .hl-rot-line { text-align: center; }
#heroLive .hl-row { justify-content: center; }

@media (max-width: 640px) {
  .hero-map { max-width: 100% !important; }
  .hero-copy { text-align: center; }
}

@media (min-width: 1240px) {
  .hero-copy {
    display: grid;
    
    grid-template-columns: minmax(0, 1fr) minmax(380px, 520px);
    column-gap: 64px;
    row-gap: 0;                 
    align-items: start;
    max-width: 1200px;
    text-align: left;
    padding-top: 8px;
  }
  
  .hero-copy > * { grid-column: 1; }
  .hero-copy > .app-launch { grid-column: 2; grid-row: 1 / span 40; align-self: start; }
  
  .hero-copy > .hero-howto, .hero-copy > .hero-register { justify-self: start; }

  .hero-copy .hero-title { text-align: left; margin: 0 0 20px; }
  .hero-copy .hero-title .ht-when { margin-left: 0; margin-right: 0; }
  .hero-copy .lede { text-align: left; max-width: 34em; margin-left: 0; margin-right: 0; font-size: 1.08rem; }
  .hero-copy .ai-prompt { margin-left: 0; margin-right: 0; justify-content: flex-start; }
  .hero-copy .hero-howto { margin-left: 0; margin-right: 0; }
  .hero-copy .hero-register { margin-left: 0; margin-right: 0; }
  #heroLive, #heroLive .hl-rot, #heroLive .hl-rot-line { text-align: left; }
  #heroLive .hl-row { justify-content: flex-start; }
  #heroLive { margin-top: 18px; }

  .hero-copy .app-launch {
    width: 100%; max-width: none; margin: 0;
    padding: 24px 26px 22px;
    border-color: rgba(34, 197, 94, .55);
    background: linear-gradient(180deg, rgba(34, 197, 94, .13), rgba(34, 197, 94, .05) 62%, transparent);
    box-shadow: 0 24px 48px -30px rgba(34, 197, 94, .7);
  }
  .hero-copy .app-launch-tag { font-size: .68rem; letter-spacing: .18em; }
  .hero-copy .app-launch h2 { margin: 12px 0 6px; font-size: 1.34rem; line-height: 1.2; }
  .hero-copy .app-launch p { margin: 0 0 18px; font-size: .95rem; }

  .hero-copy .app-launch-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-copy .app-launch-btns a {
    width: 100%; justify-content: center; text-align: center;
    padding: 13px 12px; font-size: .86rem; letter-spacing: .04em;
  }

  .hero-copy .app-launch-desk {
    margin-top: 18px; padding-top: 14px;
    border-top: 1px solid rgba(34, 197, 94, .24);
    gap: 8px 16px;
  }
}

@media (max-width: 640px) {
  .hero-copy .ai-prompt { justify-content: center; column-gap: 8px; row-gap: 4px; }
  .hero-copy .ai-prompt-line { padding-left: 0; justify-content: center; }
  
  .hero-copy .ai-prompt-label { white-space: normal; text-align: center; }
}

@media (max-width: 1239px) {
  .hero-copy { display: flex; flex-direction: column; }
  .hero-copy > .app-launch { order: 1; margin: 30px auto 0; }
}

@media (min-width: 641px) {
  .hero-copy .ai-prompt { width: min(100%, 560px); }
}

.hero-copy .app-launch h2,
.hero-copy .app-launch p { white-space: nowrap; }

.hero-copy .app-launch { width: 100%; }
@media (min-width: 641px) { .hero-copy .app-launch { width: 100%; max-width: 560px; } }

@media (max-width: 400px) {
  .hero-copy .app-launch { padding-left: 12px; padding-right: 12px; }
  .hero-copy .app-launch h2 { font-size: clamp(.92rem, 4.3vw, 1.08rem); }
  .hero-copy .app-launch p { font-size: clamp(.68rem, 3.5vw, .86rem); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy .app-launch { position: relative; overflow: hidden; }
  
  .hero-copy .app-launch::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 40%; pointer-events: none;
    background: linear-gradient(100deg, transparent, rgba(134, 239, 172, .20) 45%, rgba(255, 255, 255, .28) 55%, transparent);
    animation: al-sheen 7s ease-in-out 1.6s infinite;
  }
  @keyframes al-sheen { 0% { left: -40%; } 55%, 100% { left: 115%; } }
  
  .hero-copy .app-launch > * { animation: al-rise .55s cubic-bezier(.2, .8, .2, 1) both; }
  .hero-copy .app-launch > :nth-child(1) { animation-delay: .05s; }
  .hero-copy .app-launch > :nth-child(2) { animation-delay: .14s; }
  .hero-copy .app-launch > :nth-child(3) { animation-delay: .23s; }
  .hero-copy .app-launch > :nth-child(4) { animation-delay: .32s; }
  .hero-copy .app-launch > :nth-child(5) { animation-delay: .41s; }
  @keyframes al-rise { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
  
  .hero-copy .app-launch-tag::before { animation: al-dot 2.4s ease-in-out infinite; }
  @keyframes al-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(.82); } }
}
