/* Welcome (home) — desktop-only Mews-style landing.
   Mobile/tablet view is unchanged. */

/* Default hide on mobile/tablet — visible only at ≥1024px. */
.ma-desktop-welcome {
  display: none;
}

@media (min-width: 1024px) {

  /* Hide the original mobile dashboard cards on desktop landing.
     The same data lives on /moveathens/pages/insights.html now. */
  body.ma-hero-page .ma-welcome-dashboard {
    display: none !important;
  }

  /* Hero stage: don't force min-height — content sizes itself. */
  body.ma-hero-page .ma-hero-stage {
    min-height: calc(100vh - 96px) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 96px 0 0 240px !important;
  }
  body.ma-hero-page .ma-hero {
    width: 100%;
    min-height: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Mews-style hero block */
  .ma-desktop-welcome {
    display: block;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px;
    box-sizing: border-box;
  }

  .ma-desktop-welcome__inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(26,36,86,0.10);
    border-radius: 18px;
    padding: 56px 56px;
    box-shadow: 0 1px 3px rgba(15,23,42,0.05);
  }

  .ma-desktop-welcome__text {
    color: #1A2456;
    text-align: left;
  }

  .ma-desktop-welcome__eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #1A2456;
    background: rgba(26,36,86,0.08);
    border-radius: 999px;
    padding: 6px 14px;
    margin-bottom: 18px;
  }

  .ma-desktop-welcome__headline {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 44px;
    line-height: 1.08;
    font-weight: 800;
    color: #1A2456;
    margin: 0 0 18px 0;
    letter-spacing: -0.5px;
  }

  .ma-desktop-welcome__lede {
    font-size: 17px;
    line-height: 1.55;
    color: rgba(26,36,86,0.72);
    margin: 0 0 28px 0;
    max-width: 520px;
  }

  .ma-desktop-welcome__cta {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
  }

  .ma-desktop-welcome__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 0 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.15s ease;
    box-sizing: border-box;
  }
  /* v1446 — Safety: ensure [hidden] and style.display:none both work
     even though inline-flex has higher specificity than the UA stylesheet. */
  .ma-desktop-welcome__btn[hidden],
  .ma-desktop-welcome__btn[style*="display: none"],
  .ma-desktop-welcome__btn[style*="display:none"] { display: none !important; }
  .ma-desktop-welcome__btn--primary {
    background: #1A2456;
    color: #fff;
    border: 1px solid #1A2456;
  }
  .ma-desktop-welcome__btn--primary:hover {
    background: #2a3a7a;
    border-color: #2a3a7a;
  }
  .ma-desktop-welcome__btn--ghost {
    background: transparent;
    color: #1A2456;
    border: 1px solid rgba(26,36,86,0.20);
  }
  .ma-desktop-welcome__btn--ghost:hover {
    background: rgba(26,36,86,0.04);
  }

  .ma-desktop-welcome__bullets {
    list-style: none;
    margin: 0;
    padding: 0;
    color: rgba(26,36,86,0.72);
    font-size: 14px;
    line-height: 1.8;
  }
  .ma-desktop-welcome__bullets li {
    position: relative;
    padding-left: 22px;
  }
  .ma-desktop-welcome__bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1A2456;
    opacity: 0.55;
  }

  /* Media: phone mockup */
  .ma-desktop-welcome__media {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .ma-desktop-welcome__phone {
    width: 280px;
    aspect-ratio: 9 / 19.5;
    border: 10px solid #1A2456;
    border-radius: 36px;
    overflow: hidden;
    background: #000;
    box-shadow:
      0 24px 60px rgba(15,23,42,0.18),
      0 6px 14px rgba(15,23,42,0.08);
    position: relative;
  }
  .ma-desktop-welcome__phone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 18px;
    background: #1A2456;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 2;
  }
  .ma-desktop-welcome__phone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
  }

  /* Slimmer at 1024–1279 */
  @media (max-width: 1279px) {
    .ma-desktop-welcome__inner {
      padding: 40px;
      gap: 36px;
    }
    .ma-desktop-welcome__headline {
      font-size: 36px;
    }
    .ma-desktop-welcome__phone {
      width: 240px;
    }
  }
}
