.maui-home-shell {
  display: none;
}

@media (max-width: 47.99rem) {
  body.maui-webview-home {
    background: #edf5f4;
  }

  body.maui-webview-home .site-header,
  body.maui-webview-home .site-footer,
  body.maui-webview-home .home-browser-content {
    display: none;
  }

  body.maui-webview-home .site-main {
    min-height: 100vh;
    min-height: 100svh;
  }

  body.maui-webview-home .maui-home-shell {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    padding:
      max(1.25rem, env(safe-area-inset-top))
      max(1.1rem, env(safe-area-inset-right))
      max(1.25rem, env(safe-area-inset-bottom))
      max(1.1rem, env(safe-area-inset-left));
    place-items: center;
    background:
      radial-gradient(circle at 100% 0%, rgba(43, 151, 139, 0.18), transparent 36%),
      linear-gradient(165deg, #f8fbfa 0%, #edf5f4 58%, #e5f0ef 100%);
  }

  body.maui-webview-home .maui-home-shell::before,
  body.maui-webview-home .maui-home-shell::after {
    position: absolute;
    z-index: -1;
    width: 12rem;
    height: 12rem;
    border: 1px solid rgba(23, 107, 103, 0.12);
    border-radius: 50%;
    content: "";
  }

  body.maui-webview-home .maui-home-shell::before {
    top: -5rem;
    right: -4rem;
  }

  body.maui-webview-home .maui-home-shell::after {
    bottom: -7rem;
    left: -6rem;
  }

  .maui-home-content {
    display: flex;
    width: min(100%, 30rem);
    min-height: min(43rem, calc(100svh - 2.5rem));
    padding: clamp(1.25rem, 5vw, 1.75rem);
    border: 1px solid rgba(23, 107, 103, 0.13);
    border-radius: 1.5rem;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 1.25rem 3rem rgba(21, 76, 75, 0.1);
    backdrop-filter: blur(0.75rem);
  }

  .maui-home-brand {
    display: inline-flex;
    gap: 0.75rem;
    align-items: center;
  }

  .maui-home-brand-mark {
    display: inline-grid;
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 0.85rem;
    place-items: center;
    color: #fff;
    background: var(--pg-primary);
  }

  .maui-home-brand strong,
  .maui-home-brand small {
    display: block;
  }

  .maui-home-brand strong {
    color: var(--pg-ink);
    font-size: 1rem;
    line-height: 1.25;
  }

  .maui-home-brand small {
    margin-top: 0.1rem;
    color: var(--pg-muted);
    font-size: 0.72rem;
  }

  .maui-home-intro {
    margin-block: auto;
    padding-block: clamp(2.5rem, 10vh, 5rem) 2.25rem;
  }

  .maui-home-eyebrow {
    display: inline-flex;
    gap: 0.4rem;
    align-items: center;
    color: var(--pg-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.025em;
  }

  .maui-home-intro h1 {
    max-width: 11ch;
    margin: 0.9rem 0 1rem;
    color: var(--pg-ink);
    font-size: clamp(2.35rem, 11vw, 3.45rem);
    line-height: 1.02;
  }

  .maui-home-intro p {
    max-width: 31rem;
    margin: 0;
    color: var(--pg-muted);
    font-size: 1rem;
    line-height: 1.65;
  }

  .maui-home-actions {
    display: grid;
    gap: 0.75rem;
  }

  .maui-home-primary,
  .maui-home-secondary {
    display: flex;
    min-height: 3.25rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--pg-primary);
    border-radius: 0.85rem;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-decoration: none;
  }

  .maui-home-primary {
    justify-content: space-between;
    color: #fff;
    background: var(--pg-primary);
  }

  .maui-home-primary span {
    display: inline-flex;
    gap: 0.6rem;
    align-items: center;
  }

  .maui-home-primary:hover,
  .maui-home-primary:focus-visible {
    color: #fff;
    background: var(--pg-primary-hover);
  }

  .maui-home-secondary {
    color: var(--pg-primary);
    background: #fff;
  }

  .maui-home-secondary:hover,
  .maui-home-secondary:focus-visible {
    color: var(--pg-primary-hover);
    background: var(--pg-surface-subtle);
  }

  .maui-home-registration {
    margin: 0.2rem 0 0;
    color: var(--pg-muted);
    font-size: 0.86rem;
    text-align: center;
  }

  .maui-home-registration a {
    display: inline-block;
    padding: 0.45rem 0.2rem;
    font-weight: 700;
  }

  .maui-home-assurance {
    display: flex;
    margin: 1.15rem 0 0;
    gap: 0.4rem;
    align-items: center;
    justify-content: center;
    color: var(--pg-muted);
    font-size: 0.7rem;
    text-align: center;
  }

  .maui-home-assurance i {
    color: var(--pg-primary);
  }
}

@media (max-width: 47.99rem) and (max-height: 42rem) {
  .maui-home-content {
    min-height: auto;
  }

  .maui-home-intro {
    padding-block: 2rem 1.5rem;
  }

  .maui-home-intro h1 {
    font-size: 2.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .maui-home-primary,
  .maui-home-secondary {
    transition: none;
  }
}
