/* Shell styles for markup that the lander paints with inline styles.
   Scoped so wp-admin is unchanged. Loaded after lander.css. */

:is(.mmhp-site, .editor-styles-wrapper) .wp-site-blocks > *,
:is(.mmhp-site, .editor-styles-wrapper) .mmhp-front > *,
:is(.mmhp-site, .editor-styles-wrapper) .mmhp-page > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

.mmhp-site.admin-bar .site-header-outer {
  top: 32px;
}

@media (max-width: 782px) {
  .mmhp-site.admin-bar .site-header-outer {
    top: 46px;
  }
}

:is(.mmhp-site, .editor-styles-wrapper) .site-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px;
  min-height: 84px;
}

:is(.mmhp-site, .editor-styles-wrapper) .site-header-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 1;
  min-width: 0;
  text-decoration: none;
}

:is(.mmhp-site, .editor-styles-wrapper) .site-header-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

:is(.mmhp-site, .editor-styles-wrapper) .site-header-nav--desktop {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  font-size: 15px;
  font-weight: 600;
  flex: 1 1 auto;
  min-width: 0;
}

:is(.mmhp-site, .editor-styles-wrapper) .site-header-actions--desktop {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}

:is(.mmhp-site, .editor-styles-wrapper) .site-header-login {
  font-weight: 700;
  font-size: 15px;
  color: #4f46e5;
  text-decoration: none;
}

:is(.mmhp-site, .editor-styles-wrapper) .site-header-signup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 9px;
  background: #4f46e5;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid #4f46e5;
  text-decoration: none;
}

:is(.mmhp-site, .editor-styles-wrapper) .site-header-signup:hover {
  color: #fff;
}

:is(.mmhp-site, .editor-styles-wrapper) .site-promo-banner {
  width: 100%;
  background: #166534;
  color: #fff;
  text-align: center;
  font-weight: 700;
  box-sizing: border-box;
}

:is(.mmhp-site, .editor-styles-wrapper) .site-exclusions-banner {
  width: 100%;
  color: #fff;
  text-align: center;
  box-sizing: border-box;
}

:is(.mmhp-site, .editor-styles-wrapper) .mmhp-page-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}

:is(.mmhp-site, .editor-styles-wrapper) .landing-cta-band {
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(135deg, #5b4fd4 0%, #4f46e5 42%, #6366f1 100%);
  padding: 56px clamp(18px, 4vw, 32px) 60px;
  text-align: center;
  color: #fff;
}

:is(.mmhp-site, .editor-styles-wrapper) .landing-cta-inner {
  max-width: 640px;
  margin: 0 auto;
}

:is(.mmhp-site, .editor-styles-wrapper) .landing-cta-heading {
  margin: 0 0 14px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02px;
  color: #fff;
}

:is(.mmhp-site, .editor-styles-wrapper) .landing-cta-sub {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  opacity: 0.95;
  color: #fff;
}

:is(.mmhp-site, .editor-styles-wrapper) .landing-cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

:is(.mmhp-site, .editor-styles-wrapper) .mmhp-app-link {
  text-decoration: none;
}

:is(.mmhp-site, .editor-styles-wrapper) .mmhp-app-link--cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 10px;
  background: #fff;
  color: #4f46e5;
  font-size: 16px;
  font-weight: 700;
  border: 2px solid #fff;
}

:is(.mmhp-site, .editor-styles-wrapper) .mmhp-app-link--cta-primary:hover {
  color: #4f46e5;
}

:is(.mmhp-site, .editor-styles-wrapper) .mmhp-app-link--cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, 0.95);
}

:is(.mmhp-site, .editor-styles-wrapper) .mmhp-app-link--cta-secondary:hover {
  color: #fff;
}

:is(.mmhp-site, .editor-styles-wrapper) .landing-footer {
  width: 100%;
  box-sizing: border-box;
  background: #1e2433;
  color: #94a3b8;
  padding: 44px clamp(18px, 4vw, 32px) 28px;
  font-size: 14px;
  line-height: 1.65;
}

:is(.mmhp-site, .editor-styles-wrapper) .landing-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
}

:is(.mmhp-site, .editor-styles-wrapper) .landing-footer-exclusions {
  text-align: center;
  color: #9ca3af;
  font-size: 13px;
  line-height: 1.65;
  margin: 0 auto 40px;
  max-width: 800px;
}

:is(.mmhp-site, .editor-styles-wrapper) .landing-footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}

:is(.mmhp-site, .editor-styles-wrapper) .landing-footer-brand-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  text-decoration: none;
}

:is(.mmhp-site, .editor-styles-wrapper) .landing-footer-logomark {
  height: 40px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

:is(.mmhp-site, .editor-styles-wrapper) .landing-footer-wordmark {
  margin: 0 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: #ffffff;
}

:is(.mmhp-site, .editor-styles-wrapper) .landing-footer-tagline {
  margin: 0;
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.65;
  max-width: 300px;
}

:is(.mmhp-site, .editor-styles-wrapper) .landing-footer-heading {
  font-weight: 800;
  color: #f8fafc;
  font-size: 15px;
  margin-bottom: 16px;
}

:is(.mmhp-site, .editor-styles-wrapper) .landing-footer-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 10px;
}

:is(.mmhp-site, .editor-styles-wrapper) .landing-footer-link {
  color: #cbd5e1;
  text-decoration: none;
}

:is(.mmhp-site, .editor-styles-wrapper) .landing-footer-link:hover {
  color: #cbd5e1;
}

:is(.mmhp-site, .editor-styles-wrapper) .landing-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

:is(.mmhp-site, .editor-styles-wrapper) .landing-footer-contact-link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #cbd5e1;
  text-decoration: none;
}

:is(.mmhp-site, .editor-styles-wrapper) .landing-footer-contact-link:hover {
  color: #cbd5e1;
}

:is(.mmhp-site, .editor-styles-wrapper) .landing-footer-contact-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

:is(.mmhp-site, .editor-styles-wrapper) .landing-footer-app-stores {
  margin-top: 4px;
}

:is(.mmhp-site, .editor-styles-wrapper) .landing-footer-app-stores-label {
  font-weight: 700;
  color: #e2e8f0;
  font-size: 13px;
  margin-bottom: 10px;
}

:is(.mmhp-site, .editor-styles-wrapper) .landing-footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 4px;
}

:is(.mmhp-site, .editor-styles-wrapper) .landing-footer-social a {
  color: #9ca3af;
  display: flex;
}

:is(.mmhp-site, .editor-styles-wrapper) .landing-footer-social a:hover {
  color: #9ca3af;
}

:is(.mmhp-site, .editor-styles-wrapper) .landing-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 36px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

:is(.mmhp-site, .editor-styles-wrapper) .landing-footer-copyright {
  font-size: 13px;
  color: #94a3b8;
}

:is(.mmhp-site, .editor-styles-wrapper) .landing-footer-legal {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  align-items: center;
}

:is(.mmhp-site, .editor-styles-wrapper) .landing-footer-legal-link,
:is(.mmhp-site, .editor-styles-wrapper) .mmhp-cookie-settings {
  color: #94a3b8;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

:is(.mmhp-site, .editor-styles-wrapper) .landing-footer-legal-link:hover,
:is(.mmhp-site, .editor-styles-wrapper) .mmhp-cookie-settings:hover {
  color: #94a3b8;
}

:is(.mmhp-site, .editor-styles-wrapper) .mmhp-404 {
  min-height: 100vh;
  background: linear-gradient(180deg, #e8f0fb 0%, #f7fafc 55%, #fff 100%);
  display: flex;
  flex-direction: column;
}

:is(.mmhp-site, .editor-styles-wrapper) .mmhp-404-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px clamp(18px, 4vw, 32px) 64px;
  box-sizing: border-box;
}

:is(.mmhp-site, .editor-styles-wrapper) .mmhp-404-card {
  max-width: 520px;
  text-align: center;
  width: 100%;
}

:is(.mmhp-site, .editor-styles-wrapper) .mmhp-404-kicker {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4f46e5;
}

:is(.mmhp-site, .editor-styles-wrapper) .mmhp-404-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 6vw, 36px);
  font-weight: 800;
  color: #1a202c;
  line-height: 1.2;
  letter-spacing: -0.03px;
}

:is(.mmhp-site, .editor-styles-wrapper) .mmhp-404-copy {
  margin: 0 0 32px;
  font-size: 17px;
  line-height: 1.6;
  color: #4b5563;
}

:is(.mmhp-site, .editor-styles-wrapper) .mmhp-404-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  text-align: center;
}

:is(.mmhp-site, .editor-styles-wrapper) .mmhp-app-link--recovery {
  display: block;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #4f46e5;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

:is(.mmhp-site, .editor-styles-wrapper) .mmhp-app-link--recovery:hover {
  color: #4f46e5;
}

:is(.mmhp-site, .editor-styles-wrapper) .mmhp-archive {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 18px 72px;
  box-sizing: border-box;
}

@media (prefers-reduced-motion: reduce) {
  :is(.mmhp-site, .editor-styles-wrapper) .site-header-drawer,
  :is(.mmhp-site, .editor-styles-wrapper) .site-header-drawer-backdrop,
  :is(.mmhp-site, .editor-styles-wrapper) .site-app-download-banner,
  :is(.mmhp-site, .editor-styles-wrapper) .site-header-nav-link {
    transition: none;
  }
}
